Dorn.Templates.BlazorServer
1.3.2
dotnet new install Dorn.Templates.BlazorServer@1.3.2
This package contains a .NET Template Package you can call from the shell/command line.
Dorn Blazor Server Template
Create a .NET 10 application with Interactive Server rendering, MudBlazor, a warm editorial design system, and optional Aspire orchestration.
🚀 Create and run
dotnet new install Dorn.Templates.BlazorServer
dotnet new dorn-blazor-server -n Acme.Portal
cd Acme.Portal
dotnet run --project src/Acme.Portal.Web
Choose a palette while generating the application: dotnet new dorn-blazor-server -n Acme.Portal --Palette Ocean.
✨ What you get
- Interactive Server rendering and a responsive MudBlazor shell
- Light, dark, and system modes without a first-paint flash
- Self-hosted Newsreader and system UI fonts
- Optional Clean Architecture layers with enforced dependency rules
- Optional Aspire AppHost and ServiceDefaults projects
- xUnit, bUnit, architecture, and integration test foundations
⚙️ Options
| Option | Default | Effect |
|---|---|---|
--IncludeAspire <bool> |
false |
Adds the AppHost and ServiceDefaults projects |
--IncludeTests <bool> |
true |
Includes generated test projects |
--IncludeCleanArchitecture <bool> |
false |
Adds Domain, Application, and Infrastructure layers |
--IncludeAuth <bool> |
false |
Adds a cookie-authentication starting point with demo sign-in and protected pages |
--Palette <Terracotta\|Ocean\|Forest\|Sunset\|Lavender\|Slate\|Citrus> |
Terracotta |
Selects the application color palette |
Visual Studio discovers the installed template automatically in Create a new project.
-
.NETStandard 2.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.
See https://github.com/mbarretot/dorn-templates-blazor/blob/main/CHANGELOG.md for release notes.