Blazor
Blazor is a web framework that enables developers to create web apps using C# and HTML. LightningChart JS can also be used inside a Blazor application to add high performance charts with real-time capability to the mix.
Please find the latest demo of this use case, here.
Some prospects have also used LightningChart JS in .NET MAUI Blazor Hybrid applications. A similar demo for this can be found here.
Also, please don't hesitate to contact us to ask for the latest updates or ask for more help on the topic. There are so many different frameworks around that it is quite difficult for us to keep the online materials always up to date.
Developer licenses usage in Blazor
All LightningChart JS licenses except for Developer licenses are completely air-tight, meaning the library makes no outbound network requests to validate the active license. In case of Developer license, however, there is a verification request, which Blazor blocks by default. To allow this check, the request has to be whitelisted:
// Startup.cs
app.Use(async (context, next) => {
if (env.IsDevelopment()) {
context.Response.Headers.Add("Content-Security-Policy", "https://jslicensing.lightningchart.com/");
}
})
For legacy purposes, the original LightningChart JS template for Blazor can be found here.