Skip to content

Blazor Shell Template — Parameters

Reference for dotnet new connectsoft-blazor-shell.

Standard CLI parameters

Parameter Type CLI Description
name string -n, --name Directory / project naming where sourceName (Shell.BlazorServer) applies.

Template-specific parameters

Parameter Type Default CLI Description
Framework choice net10.0 --framework / -f net8.0, net9.0, net10.0 — primary moniker for docs/tooling.
includeTests bool true --include-tests Shell unit test project.
skipRestore bool false --skip-restore Skip post-scaffold restore.

Examples

dotnet new connectsoft-blazor-shell -n Contoso.Portal.Shell -f net10.0
dotnet new connectsoft-blazor-shell --include-tests false -n BareShell
dotnet new connectsoft-blazor-shell -h

Generated solution file

The scaffolded solution is ConnectSoft.Blazor.ShellTemplate.slnx inside the output folder (name does not follow -n).