MudBlazor.Templates
4.0.1
Prefix Reserved
See the version list below for details.
dotnet new install MudBlazor.Templates::4.0.1
Blazor Template pre-configured with MudBlazor.
We're excited to announce the availability of a new template for .NET 10 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.
Prerequisites
- .NET 10 SDK
- Visual Studio 2026, JetBrains Rider or Visual Studio Code
Getting Started
Installation
dotnet new install MudBlazor.Templates
Updating the Template
If you already installed MudBlazor.Templates and want the latest version, update your installed template packages with:
dotnet new update
This checks installed template packages and installs available updates.
To preview updates without changing anything:
dotnet new update --check-only
To verify which version is installed / available:
dotnet new list mudblazor
If you want to reinstall manually (for example, to pin a specific version), uninstall and install again:
dotnet new uninstall MudBlazor.Templates
dotnet new install MudBlazor.Templates
Install a specific version:
dotnet new install MudBlazor.Templates::<version>
dotnet new update updates all installed template packages, not just MudBlazor.Templates.
Usage
Common Commands
Create a new app (default is Server interactivity):
dotnet new mudblazor -o MyMudApp
Create a static server-rendered app (no interactivity):
dotnet new mudblazor -o MyMudApp -int None
Create an app with per-page interactive components:
dotnet new mudblazor -o MyMudApp -int Auto
Create an app with interactive rendering enabled globally:
dotnet new mudblazor -o MyMudApp -int Auto -ai
Create an app with Individual authentication:
dotnet new mudblazor -o MyMudApp -int Auto -au Individual
Create an app with Individual authentication and global interactivity:
dotnet new mudblazor -o MyMudApp -int Auto -au Individual -ai
Create an app with Individual authentication using LocalDB (instead of SQLite):
dotnet new mudblazor -o MyMudApp -au Individual -uld
Create an empty starter (omit sample/demo pages and styling):
dotnet new mudblazor -o MyMudApp -e
Create an app without HTTPS (for local development only):
dotnet new mudblazor -o MyMudApp --no-https
Create an app with a custom project name and output folder:
dotnet new mudblazor -n Acme.Portal -o src/Acme.Portal -int WebAssembly
Options (Common)
| Option | Values / Type | Default | Description / Notes |
|---|---|---|---|
-int, --interactivity |
Auto, None, Server, WebAssembly |
Server |
Selects the interactive render mode. Use None for static SSR only. |
-ai, --all-interactive |
bool |
false |
Applies interactivity globally (root-level). Only enabled when interactivity is not None. |
-au, --auth |
None, Individual |
None |
Adds authentication support. |
-uld, --use-local-db |
bool |
false |
Uses LocalDB instead of SQLite. Only applies with -au Individual. |
-e, --empty |
bool |
false |
Omits sample pages and demo styling. |
--no-https |
bool |
false |
Disables HTTPS for local development. Ignored when -au Individual is used. |
--exclude-launch-settings |
bool |
false |
Excludes Properties/launchSettings.json from generated output. |
--no-restore |
bool |
false |
Skips automatic dotnet restore after project creation. |
--use-program-main |
bool |
false |
Generates an explicit Program class and Main method instead of top-level statements. |
--localhost-tld |
bool |
false |
Uses the .dev.localhost TLD in the local application URL. |
For the complete option list (including advanced template options), run:
dotnet new mudblazor --help
Visual Studio Templates
The templates can also be used in Visual Studio and should show up in the "Create a new project" template list. Common options map to Visual Studio's project creation UI, but the CLI examples above are the best reference for advanced combinations and flags.
Contributing
Installing directly from Source Code
If you want to test changes to the template source code that haven'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
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.3.0 | 5,084 | 3/29/2026 |
| 4.2.0 | 2,857 | 2/28/2026 |
| 4.1.2 | 344 | 2/27/2026 |
| 4.1.1 | 838 | 2/22/2026 |
| 4.1.0 | 236 | 2/22/2026 |
| 4.0.1 | 229 | 2/22/2026 |
| 4.0.0 | 291 | 2/22/2026 |
| 3.2.0 | 38,676 | 3/25/2025 |
| 3.1.0 | 12,589 | 1/24/2025 |
| 3.0.0 | 2,180 | 1/18/2025 |
| 2.2.0 | 28,817 | 7/25/2024 |
| 2.1.0 | 1,278 | 7/22/2024 |
| 2.0.0 | 4,633 | 6/29/2024 |
| 2.0.0-rc.1 | 386 | 6/26/2024 |
| 1.0.0 | 13,893 | 3/19/2024 |
| 0.6.5 | 11,328 | 1/15/2024 |
| 0.6.3 | 50,702 | 7/27/2022 |
| 0.6.2 | 11,267 | 4/13/2022 |
| 0.6.1 | 5,815 | 2/10/2022 |
| 0.6.0 | 4,460 | 12/19/2021 |