Deploy to IIS

This article shows how to quickly deploy your Blazor application to Azure with Radzen Blazor Studio.

Note: Deployment is a premium feature.

Prerequisites

Before deploying your application to IIS make sure that you have created an Azure application with the same .NET version as your Radzen Blazor Application.

Deploy

To deploy your Blazor application to Azure:

  1. Click Publish button to open the Publish wizard.
  2. Select Azure from the available options. This will create a new Radzen Blazor Studio publish profile that can later be used to deploy the application with the same settings.
  3. Enter the name of your Azure application. If the URL of the application is https://my-blazor-app.azurewebsites.net enter my-blazor-app.
  4. Downloaded a publish profile from the Azure portal.
  5. Open the publish profile with a text editor and copy the user name and password and paste them in the Publish wizard.
  6. Optionally change the connection string of the database(s) that your application is using. Often applications use a different database in production or a different login credentials.
  7. Click Publish.

Radzen Blazor Studio will publish the application in production mode and deploy it to Azure. WebAssembly applications will be optimized for size which may take some time. Check the Output for a detailed log of the publish and deploy operations.