In Blazor server server side application, CircuitOptions detailed error is shown using AddServerSideBlazor().AddCircuitOptions() method. This displays the details of the circuit error in the browser. Find the code snippet to enable the circuit option.
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorPages();
services.AddServerSideBlazor().AddCircuitOptions(e=> {
e.DetailedErrors = true;
});
}
Share with