Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!
Thanks for joining our community and helping improve Syncfusion products!
I can see the following issue:
When I run a Blazor application with Syncfusion
enabled locally, I can test it without an active license (The error message
appears on top of the application).
When I run a Blazor application with Syncfusion enabled locally, I can test it without any issues.
When I compile the application and run it on a server, I get the following error message in the Browser console:
----------------------------------------------------------------------------------------------------------------
[2020-01-16T10:48:27.737Z] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.EJ2.Blazor.SyncfusionBlazorService.GetContext()
at Syncfusion.EJ2.Blazor.BaseComponent.OnInitializedAsync()
at Syncfusion.EJ2.Blazor.Charts.EjsChart.OnInitializedAsync()
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
Is this a hint that the license is invalid (No license
added yet)? If yes, could you maybe adjust the error message and throw
something like a LicenseInvalidException?
Please check my comment below for the example code and more details.
Best regards,
Hans