Toolbelt.AspNetCore.Blazor.Minimum.Templates
8.0.400
See the version list below for details.
dotnet new install Toolbelt.AspNetCore.Blazor.Minimum.Templates::8.0.400
Blazor Minimum Project Templates
Summary
This is a project templates package for "Blazor Server", "Blazor WebAssembly", and Full Stack "Blazor Web" application without JavaScript and CSS libraries.
Blazor is a framework for building full stack web apps by C#, without writing a line of JavaScript. Learn More...
The Blazor application project created by these templates contains only the minimum necessary files, like this:
When you run this project, you will see the following page on a web browser.
System requirement
- .NET SDK ver.6, 7, 8, or later
How to install
If you use .NET SDK ver.7 or later, please enter the following command to install the project templates.
> dotnet new install Toolbelt.AspNetCore.Blazor.Minimum.Templates
If you use .NET SDK ver.6, please enter the following command to install the project templates.
> dotnet new -i Toolbelt.AspNetCore.Blazor.Minimum.Templates
How to use
.NET CLI
If you want to create a new Blazor Server app project, type the dotnet new
command with the short name of the template "blazorservermin".
> dotnet new blazorservermin
If you want to create a new Blazor WebAssembly app project which standalone edition, type the dotnet new
command with the short name of the template "blazorwasmmin".
> dotnet new blazorwasmmin
If you want to create a new Blazor Web app project that is a new model since .NET 8, type the dotnet new
command with the short name of the template "blazormin".
> dotnet new blazormin
These commands create a new project in the current directory, and the project name will be the same as the current directory name.
See also: "dotnet new command - .NET Core CLI" | Microsoft Docs
You can see all the options for these project templates with the --help
option, like below:
> dotnet new blazorwasmmin --help
option | description |
---|---|
--no-restore |
If specified, skips the automatic restore of the project on create. |
-f , --framework {net6.0 , net7.0 , or net8.0 } |
The target framework for the project. |
--no-https |
Whether to turn off HTTPS. |
-ho , --hosted |
[Blazor WebAssembly Only] If specified, includes an ASP.NET Core host for the Blazor WebAssembly app. |
-r , --routing |
If specified, enables routing for the Blazor app. |
--layout |
If specified, enables shared layout for the Blazor app. |
-int , --interactivity {none , server , webassembly , or auto } |
[Blazor Web app only] Chooses which interactive render mode to use for interactive components. (The default value is none ) |
-s , --solution |
[.NET CLI only] If specified, adds a solution file for the standalone Blazor WebAssembly or Blazor Server app. |
For example, if you want an ASP.NET Core hosted Blazor WebAssembly app project, please specify the --hosted
switch.
> dotnet new blazorwasmmin --hosted
Visual Studio
Once you've installed this project template with the dotnet new install ...
command, you will see these project templates in your Visual Studio's "Create new project" dialog.
When you proceed with creating a new project with the project template "Blazor Server App (minimal)", "Blazor WebAssembly App (minimal)", or "Blazor Web App (minimal)", you can see the "Additional Information" dialog, and you can configure some options for the Blazor app you are creating.
What is the difference between the empty template built-in .NET SDK?
- .NET 6.0 support
- Rich initial loading page indicator for Blazor WebAssembly. (The normal project template of Blazor WebAssembly on .NET SDK has an excellent progress indication loading page. but the empty project template only shows "Loading..." static text at the top left corner of the page.)
- No routing by default. (You can also enable routing support explicitly)
- No shared layout by default. (You can also enable shared layout explicitly)
In short, this "minimal" template will generate a much simpler project structure and files (by default, it doesn't even have routing code and shared layout code) than the Blazor empty template.
License
- The Unlicense
- The third party notice is here.
- "FreeConverter.com" (https://www.freeconvert.com/png-to-svg) was used to vectorize Blazor logo.
This package has 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 |
---|---|---|
9.0.100 | 114 | 11/12/2024 |
9.0.100-rc.2 | 54 | 10/8/2024 |
9.0.100-rc.1 | 54 | 9/10/2024 |
9.0.100-preview.7.3 | 52 | 8/31/2024 |
9.0.100-preview.7.2 | 54 | 8/31/2024 |
9.0.100-preview.7.1 | 115 | 8/14/2024 |
9.0.100-preview.7 | 66 | 8/14/2024 |
9.0.100-preview.6 | 59 | 7/9/2024 |
9.0.100-preview.4 | 61 | 6/5/2024 |
9.0.100-preview.3 | 65 | 4/18/2024 |
8.0.403 | 165 | 10/9/2024 |
8.0.400.1 | 194 | 8/31/2024 |
8.0.400 | 161 | 8/14/2024 |
8.0.303 | 175 | 7/9/2024 |
8.0.301 | 223 | 6/5/2024 |
8.0.204 | 238 | 4/18/2024 |
8.0.202 | 720 | 3/13/2024 |
8.0.200.1 | 1,089 | 2/23/2024 |
8.0.200 | 916 | 2/14/2024 |
8.0.101.1 | 1,742 | 1/9/2024 |
8.0.101 | 1,160 | 1/2/2024 |
8.0.100 | 1,024 | 12/29/2023 |
8.0.0 | 1,752 | 12/2/2023 |
8.0.0-rc.2.23480.2 | 1,308 | 10/11/2023 |
8.0.0-rc.1.23421.29.2 | 82 | 9/16/2023 |
7.0.11 | 1,263 | 9/14/2023 |
7.0.1 | 2,150 | 12/13/2022 |
7.0.0 | 1,610 | 11/7/2022 |
7.0.0-rc.2.22476.2 | 115 | 10/12/2022 |
7.0.0-rc.1.22427.2 | 136 | 9/15/2022 |
7.0.0-preview.7.22376.6 | 112 | 9/13/2022 |
6.0.10 | 1,593 | 10/12/2022 |
6.0.8.2 | 1,629 | 9/13/2022 |
6.0.8.1 | 1,413 | 9/10/2022 |
6.0.8 | 1,609 | 9/10/2022 |
6.0.0 | 1,628 | 11/11/2021 |
6.0.0-rc.2 | 154 | 10/13/2021 |
6.0.0-rc.1 | 173 | 9/18/2021 |
6.0.0-preview.7 | 345 | 8/11/2021 |
6.0.0-preview.5 | 180 | 6/18/2021 |
6.0.0-preview.4 | 172 | 5/26/2021 |
6.0.0-preview.3 | 189 | 5/15/2021 |
5.0.6 | 3,457 | 5/15/2021 |
5.0.4 | 1,635 | 3/14/2021 |
5.0.3 | 1,762 | 2/14/2021 |
5.0.2 | 1,654 | 1/13/2021 |
5.0.0 | 1,714 | 11/10/2020 |
5.0.0-rc.2.20475.17 | 233 | 10/17/2020 |
5.0.0-rc.1.20451.17 | 326 | 9/16/2020 |
5.0.0-preview.8.20414.8 | 258 | 8/26/2020 |
3.2.1 | 1,800 | 7/23/2020 |
3.2.0 | 1,789 | 5/19/2020 |
3.2.0-rc1.20223.4 | 299 | 4/30/2020 |
3.2.0-preview5.20216.8 | 266 | 4/24/2020 |
3.2.0-preview4.20210.8 | 276 | 4/17/2020 |
3.2.0-preview3.20168.3 | 295 | 3/28/2020 |
3.2.0-preview2.20160.5 | 270 | 3/11/2020 |
3.2.0-preview1.20073.1 | 322 | 1/29/2020 |
3.1.0-preview4.19579.2 | 343 | 12/4/2019 |
3.1.0-preview3.19555.2 | 266 | 11/21/2019 |
3.1.0-preview2.19528.8.2 | 272 | 11/6/2019 |
3.0.0-preview9.19465.2 | 309 | 9/24/2019 |
3.0.0-preview9.19457.4 | 285 | 9/17/2019 |
3.0.0-preview9.19424.4.3 | 285 | 9/9/2019 |
3.0.0-preview9.19424.4.1 | 271 | 9/6/2019 |
3.0.0-preview9.19424.4 | 272 | 9/5/2019 |
3.0.0-preview8.19405.7 | 313 | 8/16/2019 |
3.0.0-preview7.19365.7 | 310 | 7/25/2019 |
3.0.0-preview6.19307.2 | 335 | 6/14/2019 |
3.0.0-preview5-19227-01 | 1,565 | 5/8/2019 |
3.0.0-preview4-19216-03b | 1,777 | 4/22/2019 |
0.9.0-preview3-19154-02 | 1,766 | 3/8/2019 |
0.8.0-preview-19104-04 | 1,953 | 2/7/2019 |
0.7.0 | 2,245 | 11/16/2018 |
0.6.0.1 | 2,180 | 10/3/2018 |
0.6.0 | 2,009 | 10/3/2018 |
0.5.1 | 2,517 | 7/27/2018 |
0.5.0 | 2,179 | 7/27/2018 |
0.4.0 | 2,322 | 7/20/2018 |
8.0.400
- Update: Updated the referenced packages to 8.0.8 and 6.0.33.
To see all the change logs, please visit the following URL.
- https://github.com/jsakamoto/BlazorMinimumTemplates/blob/master/RELEASE-NOTES.txt