
> Build your application for production

# Deploy manually
## Build Blazor applications for production

To manually build your Blazor application for production:

1. Open a command prompt or terminal and go to the directory of your Blazor application. If it is WebAssembly go to the `Server` directory.
1. Optionally change the database connection string(s) in `appsettings.Production.json`.
1. Run `dotnet publish -c Release`. This command builds your application in production.
1. The build output will be in `bin/Release/net8.0/publish/` (.NET 8), `bin/Release/net7.0/publish/` (.NET 7) or `bin/Release/net6.0/publish/` (.NET 6). Copy all files from this location
to your server.

## Deploy
Follow Microsoft's official [deployment instructions](https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/?view=aspnetcore-7.0).

>Note: Radzen Blazor Studio provides automatic deployment to [IIS](/blazor-studio/documentation/deploy/iis) and [Azure](/blazor-studio/documentation/deploy/azure) as a [premium](/blazor-studio/documentation/editions) feature.
