Top "Blazor-server-side" questions

Server-side Blazor is a web framework from Microsoft to create single page apps running on the server.

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
Display a timer in Blazor

I am attempting to display a countdown timer in a server-side Blazor app. My code is in both F# and …

c# asp.net f# blazor-server-side asp.net-core-3.0
Blazor equivalent of WPF ShowDialog()?

I'm attempting to migrate some code from WPF to Blazor. The WPF code relied on ShowDialog() to display a modal …

c# blazor blazor-server-side
Blazor InputText: conditionally rendering an attribute

Blazor vRC1 I'm looking for a straightforward technique on how to conditionally render an attribute within an <InputText> (…

asp.net-core blazor blazor-server-side
Is it safe to call StateHasChanged() from an arbitrary thread?

Is it safe to call StateHasChanged() from an arbitrary thread? Let me give you some context. Imagine a Server-side Blazor/…

c# blazor blazor-server-side
Blazor Project structure / best practices

My company is moving from a legacy codebase to a more modern platform and we are moving to Blazor. We …

c# mvvm .net-core blazor blazor-server-side