Host and deploy Blazor server-side

By Luke Latham, Rainer Stropek, and Daniel Roth

Host configuration values

Server-side apps that use the server-side hosting model can accept Generic Host configuration values.


With the server-side hosting model, Blazor is executed on the server from within an ASP.NET Core app. UI updates, event handling, and JavaScript calls are handled over a SignalR connection.

A web server capable of hosting an ASP.NET Core app is required. Visual Studio includes the Blazor Server App project template (blazorserverside template when using the dotnet new command).

Connection scale out

Blazor server-side apps require one active SignalR connection for each user. A production Blazor server-side deployment requires a solution for supporting as many concurrent connections as required by the app. The Azure SignalR Service handles the scaling of connections and is recommended as a scaling solution for Blazor server-side apps. For more information, see Publish an ASP.NET Core SignalR app to Azure App Service.

SignalR configuration

SignalR is configured by ASP.NET Core for the most common Blazor server-side scenarios. For custom and advanced scenarios, consult the SignalR articles in the Additional resources section.

Additional resources