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.
- .NET 8 SDK
- Visual Studio 2022, JetBrains Rider or Visual Studio Code
dotnet new install MudBlazor.Templates
dotnet new mudblazor --interactivity (Auto|Server|WebAssembly)
dotnet new mudblazor --interactivity (Auto|Server|WebAssembly) --all-interactive
dotnet new mudblazor --interactivity Auto --auth Individual
dotnet new mudblazor --interactivity Auto --auth Individual --all-interactive
The templates can also be used in Visual Studio and should show up in the list when creating a new project.
If you want to test changes to the templates source code that hasn't been published yet clone the source code and execute the InstallAndBuildAllTemplates.ps1 powershell script
git clone https://github.com/MudBlazor/Templates.git
If you get an error about the script not being digitally signed use this command to change the security policy for this shell session:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass