Top "Blazor" questions

Blazor lets you build interactive web UIs using C# instead of JavaScript.

Blazor: How to use the onchange event in <select> when using @bind also?

I need to be able to run a function after a selection in made in a <select>. The …

select bind onchange blazor
Is there any hot reload for blazor server-side?

I have just one, quick question. Is there way to hot reload a blazor app? At least, .razor files? Now …

c# cordova blazor blazor-server-side cordova9
System.Text.Json.JsonException: The input does not contain any JSON tokens

I'm just trying to use a Http POST method in a Blazor app through public async Task CreateUnit(UnitEntity unit) { …

json blazor json-deserialization json-serialization
How to use Bootstrap modal in Blazor client app?

I am trying to show bootstrap modal then bind its buttons. But I cannot pass the first step showing the …

razor .net-core blazor blazor-client-side
How to turn on CircuitOptions.DetailedErrors?

I'm getting this message in the console when running a server-side Blazor app: Error: There was an unhandled exception on …

c# asp.net-core blazor blazor-server-side
Get Current User in a Blazor component

I'm starting a new site with Blazor and Windows Authentication and need to identify the current user viewing the page/…

asp.net-core blazor .net-core-3.0 blazor-server-side ef-core-3.0
How to do client-side UI events in Blazor

I just started playing around with Blazor and I can already see the great potential of this new framework. I'm …

javascript c# asp.net-core blazor javascript-interop
Blazor: IServiceCollection does not contain a definition for AddDefaultIdentity

following this tutorialI've encountered a problem in the Startup.cs file: (need to scroll down a bit, sorry) the issue …

c# jwt blazor .net-core-3.0
ASP .Net Core with Razor Pages Vs Angular for UI

Our enterprise application is a massive (1000+ pages) app and primarily it is glorified data entry application. There is no major …

angular asp.net-core-2.2 blazor
How can you read the current value of an input in an onkeypress method in Blazor?

I have: <input onkeypress="@Foo" /> and: @functions { void Foo(UIKeyboardEventArgs e) { } } How do I pass, or otherwise retrieve, …

c# asp.net blazor