Deploy Blazor Web App to Azure App Service

31 Oct 20251 minute to read

This section provides information about deploying a Blazor Web applications with the Syncfusion Blazor components to Azure App Service.

Refer to Host and deploy ASP.NET Core Blazor topic for more information.

Deployment procedure

If you don’t have a login for Azure, sign up to access the Azure Portal.

Create a resource in Azure

  • Click Create a resource in Azure Portal to create a resource group.

Create new resource

  • Select Web App Azure application service.

Select web app

  • After selecting Web App option, choose an appropriate resource group name and instance details.

  • Once this is done, click Review + create.

Create resource

  • After configuring the Web App service. Select the created web app service (blazor-web-publish).

Created resource

  • Now, select the overview section, click on Download publish profile, and save the profile locally.

Download publish profile

Publish the Application in Azure

Using Azure account login

  • To publish the project, right-click on it and choose Publish from the context menu.

Publish menu

  • Select Azure as the target and Azure App Service (Windows) as the specific target.

Publish target

Publish specific target

  • You need to log into your Azure account and choose the web app service (blazor-web-publish) that you have created. Then, click Publish.

Created azure app service

Publish App

Using Import Profile option

  • To publish the project, right-click on it and choose Publish from the context menu.

Publish menu

  • Select Import Profile as the target and browse the downloaded publish folder. Then, click Publish

Publish target

Publish App

  • Now, the application will be deployed and will be available in the specified URL: https://blazor-web-publish.azurewebsites.net/.

Output-Azure

See also

Refer here for publishing the application to Azure App Service using Visual Studio.