38 lines
1.7 KiB
Markdown
38 lines
1.7 KiB
Markdown
|
---
|
||
|
title: Host and deploy Blazor server-side
|
||
|
author: guardrex
|
||
|
description: Learn how to host and deploy a Blazor server-side app using ASP.NET Core.
|
||
|
monikerRange: '>= aspnetcore-3.0'
|
||
|
ms.author: riande
|
||
|
ms.custom: mvc
|
||
|
ms.date: 04/15/2019
|
||
|
uid: host-and-deploy/blazor/server-side
|
||
|
---
|
||
|
# Host and deploy Blazor server-side
|
||
|
|
||
|
By [Luke Latham](https://github.com/guardrex), [Rainer Stropek](https://www.timecockpit.com), and [Daniel Roth](https://github.com/danroth27)
|
||
|
|
||
|
## Host configuration values
|
||
|
|
||
|
Server-side apps that use the [server-side hosting model](xref:blazor/hosting-models#server-side-hosting-model) can accept [Generic Host configuration values](xref:fundamentals/host/generic-host#host-configuration).
|
||
|
|
||
|
## Deployment
|
||
|
|
||
|
With the [server-side hosting model](xref:blazor/hosting-models#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](xref:signalr/introduction) 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](/dotnet/core/tools/dotnet-new) command).
|
||
|
|
||
|
<!--
|
||
|
|
||
|
**INSERT: Concerns are the same as publishing an ASP.NET Core SignalR app**
|
||
|
|
||
|
**INSERT: Content on the Azure SignalR Service**
|
||
|
|
||
|
**INSERT: Manually turn on WebSockets support**
|
||
|
|
||
|
-->
|
||
|
|
||
|
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>.
|