Render Interactive Modes in Blazor Web App
1 Sep 20253 minutes to read
This section explains the set of commands used to create a Blazor Web App with various Interactive Render Modes. These commands can be executed via the command prompt (Windows), terminal (macOS), or shell (Linux), allowing you to create Blazor applications using different rendering modes.
If you set the Authentication Type as None
and Interactivity location as Per page/component
, you need to use the following command.
Interactive Render Mode | Command |
---|---|
Server |
|
WebAssembly |
|
Auto |
|
None |
|
If you set the Authentication Type as Individual Accounts
and Interactivity location as Per page/component
, you need to use the following command.
Interactive Render Mode | Command |
---|---|
Server |
|
WebAssembly |
|
Auto |
|
None |
|
If you set the Authentication Type as Individual Accounts
and Interactivity location as Global
, you need to use the following command.
Interactive Render Mode | Command |
---|---|
Server |
|
WebAssembly |
|
Auto |
|
None |
|
If you set the Authentication Type as None
and Interactivity location as Global
, you need to use the following command.
Interactive Render Mode | Command |
---|---|
Server |
|
WebAssembly |
|
Auto |
|
None |
|
NOTE
If you want to see more available templates, you need to run the
dotnet new blazor --help
ordotnet new blazor -h
command.