How to deploy a Blazor application

Control Panel V10

Follow these steps to publish a Blazor application from Visual Studio by using Web Deploy.

  1. Open Visual Studio and select Create a new project.

Article illustration

  1. Select the appropriate Blazor project template, then select Next.

Article illustration

  1. Enter the project name and location.

Article illustration

  1. Select the required .NET version and Blazor application type, then create the project.

Article illustration

  1. In Solution Explorer, right-click the project and select Publish.
  1. Download the Web Deploy publishing profile from the Hosting Control Panel.

Web Deploy publishing profile access in the current Hosting Control Panel

  1. Import the publishing profile into Visual Studio.

Article illustration

  1. Enter the Web Deploy password shown or configured in the Hosting Control Panel.

Article illustration

  1. Publish the project and open the website to confirm that it works.

Article illustration