Top "Blazor" questions

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

Passing method to component

I have been trying to work out how if its possible and how to pass a method from the main …

c# .net-core blazor
How to set the focus to an InputText element?

Using the example from the Microsoft docs, I'm trying to programmatically set the focus to an input element. Unfortunately, the …

blazor blazor-server-side
How can I write into the browser´s console via Blazor WebAssembly?

In JavaScript we can use the following call to write debug output to the browser´s console: console.log("My …

blazor blazor-client-side asp.net-blazor
Blazor redirect to login if user is not authenticated

I am trying to develop an app using Blazor WebAssembly and I am wondering about how I can protect my …

blazor blazor-client-side
Value cannot be null. Parameter name: source when trying to get data with web api

I have this issue that I've been trying to solve the whole night and I'm cracking my head over this, …

c# asp.net-core asp.net-core-webapi blazor blazorise
How Blazor Framework get notifed when the property value gets changed

When we have a HTML code like below. <h1>@Title</h1> and C# like below public …

c# asp.net-core blazor
How to use Bootstrap Carousel in Blazor

newbie in Blazor. Need to try out how to use BS carousel in Blazor. I used below code in the …

blazor
Blazor (Client-side) StateHasChanged() not updating page

I have a button on my page (component) that calls a Refresh() method when clicked. This method then calls the …

c# asp.net-core blazor blazor-client-side
Blazor Component Reference Null on First Render

I have a custom component with an event Action called TabChanged. In my Razor page I set the reference to …

c# asp.net-core blazor blazor-client-side
When to use ValueChanged and ValueExpression in Blazor?

I'm seeing this common pattern in some libraries (MatBlazor, Telerik) of having ValueChanged and ValueExpression properties and it really confuses …

c# blazor matblazor asp.net-blazor