Save $100 with promo code CHEERS2025

As we are looking forward to an incredible 2025, enjoy our end-of-year promotion! Valid now through January 6th.

See Pricing

Still using Radzen Studio?
Achieve more with Radzen Blazor Studio

Radzen Blazor Studio is our new flagship product and vision of how rapid Blazor application development should be done.

Go to Radzen Blazor Studio

Manual Build and Deploy (Blazor)

You created your Radzen application. Congratulations! Now it is time to deploy it on your server.

Publish with Visual Studio

1. Open Visual Studio solution from the application root folder

2. Publish selected project to desired target.

Please visit Host and deploy ASP.NET Core Blazor for more info.

Deploy to IIS

  1. Follow the official Publishing to IIS instructions to prepare IIS for ASP.NET Core support.
  2. Build the ASP.NET Core application.
    1. Open a terminal window and go to the directory of your Radzen application.
    2. Change the current directory to server.
    3. Run dotnet publish -c Release to package the application in Release mode.
    4. Copy the contents of the server\bin\Release\netcoreapp3.1\publish directory to your server.
  3. Add a web site or an application from the IIS Manager pointing to the location from the previous step.

Now we need to specify the connection string to your production MS SQL Server. We will do this by defining an environment variable with the Radzen application will read at runtime.

  1. Open IIS Manager.
  2. Select the Radzen web site/application created in the previous step and click Configuration Editor. Configuration Editor
  3. Open the Section dropdown and select system.webServer/aspNetCore. Section
  4. Open the From dropdown and select ApplicationHost.config. From
  5. Click the button next to environmentVariables.
  6. Add a new environment variable with name ConnectionStrings:<DataSourceName>Connection where DataSourceName is the name of your MS SQL data source as defined in Radzen e.g. ConnectionStrings:NorthwindConnection. Set the value to the actual connection string to your production MS SQL Server. Connection String
  7. Close the environment variable editor and click the Apply button in the top right corner of the Configuration Editor.