1.7 KiB
title | author | description | monikerRange | ms.author | ms.custom | ms.date | uid |
---|---|---|---|---|---|---|---|
Host and deploy Blazor server-side | guardrex | Learn how to host and deploy a Blazor server-side app using ASP.NET Core. | >= aspnetcore-3.0 | riande | mvc | 04/15/2019 | host-and-deploy/blazor/server-side |
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.
Deployment
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.
The app is included with the ASP.NET Core app in the published output, and the two apps are deployed together. A web server that's capable of hosting an ASP.NET Core app is required. For a server-side deployment, Visual Studio includes the Razor Components project template (razorcomponents
template when using the dotnet new command).
For more information on ASP.NET Core app hosting and deployment, see xref:host-and-deploy/index.
For information on deploying to Azure App Service, see xref:tutorials/publish-to-azure-webapp-using-vs.