- .NET 6
- Visual Studio 2022, JetBrains Rider or VsCode
dotnet new install MudBlazor.Templates
dotnet new mudblazor --host wasm --name MyApplication
Specific template options:
Options | Description | Type | Default |
---|---|---|---|
-ho | --host |
Project Type | wasm | wasm-hosted wasm-pwa | wasm-pwa-hosted server |
wasm |
-s | --skipRestore |
Skips the automatic restore of the project on create. | bool |
false |
For none MudBlazor specific options run:
dotnet new -h
We're excited to announce the availability of a new template for .NET 8 Web Apps: the MudBlazor Web App template. This template is based on the Microsoft Web App template, but has been modified to include MudBlazor components.
To get started with this template, please ensure that you have the following installed:
- The latest .NET 8 SDK
- The latest Visual Studio 2022 Preview (to view the template in the list of available templates)
- The most recent version of MudBlazor.Templates from NuGet (to access the template)
dotnet new mudblazorwebapp --interactivity (Auto|Server|WebAssembly)
dotnet new mudblazorwebapp --interactivity (Auto|Server|WebAssembly) --all-interactive
dotnet new mudblazorwebapp --interactivity Auto --auth Individual
dotnet new mudblazorwebapp --interactivity Auto --auth Individual --all-interactive
- Integrate MudBlazor components into the authentication system (currently using Bootstrap components from the original template)
The templates can be used in Visual Studio as well and should show up in the list when creating a new project.