FriscoVInc.DotNet.Templates.CleanBlazor
6.0.17
Prefix Reserved
dotnet new install FriscoVInc.DotNet.Templates.CleanBlazor::6.0.17
Current Target
.NET 6
CleanBlazor
The out of the box Microsoft Blazor project templates are great for getting familiar with Blazor or creating PoC apps.
However, for brand new custom Blazor projects we will usually want to remove some of the boilerplate assets (e.g. Bootstrap, the Counter component, etc.).
The CleanBlazor project templates save you some time by providing minimal Blazor server and wasm templates (dotnet CLI and Visual Studio). Use to start out of the box Microsoft Blazor projects minus any boilerplate and unnecessary html/css/js/razor.
CleanBlazor by default generates projects that target the latest .NET version.
Getting Started
- Make sure you have the latest version of the .NET SDK installed.
- Open a terminal (e.g. powershell or bash) in any directory.
- Install the dotnet templates.
dotnet new --install FriscoVInc.DotNet.Templates.CleanBlazor
Create a project (CLI)
Open a terminal in any directory and run the dotnet new
command.
Example:
dotnet new cleanblazorserver --output c:/source/MyBlazorServerApp
cd MyBlazorServerApp
dotnet run
CLI Additional Options
dotnet new cleanblazorserver --help
dotnet new cleanblazorwasm --help
Create a project (Visual Studio 2022)
- Open Visual Studio 2022.
- Open the New Project Dialog. CTRL+SHIFT+N.
- Search for Clean Blazor. Alt+S, then type 'Clean Blazor'
- Select the Clean Blazor Server or Clean Blazor Wasm project type.
- Name project and solution.
- Create project
- Done!
*General Tip: always make sure you're IDE is up to date. Easiest is to update via the Visual Studio installer.
Additional Resources
- [Github] DotNet templating wiki
- [Github] Available templates for dotnet new
- [Microsoft] Custom templates for dotnet new
- [Microsoft] Tutorial: Create an item template
-
net6.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 |
---|---|---|
6.0.17 | 2,143 | 5/20/2023 |
6.0.7 | 1,314 | 8/8/2022 |
6.0.6 | 845 | 6/23/2022 |
6.0.4.1 | 996 | 4/18/2022 |
6.0.4 | 756 | 4/14/2022 |
6.0.2 | 731 | 2/20/2022 |
6.0.0 | 703 | 11/10/2021 |
2.1.0 | 692 | 10/13/2021 |
2.0.0 | 679 | 9/15/2021 |
1.2.0 | 658 | 9/7/2021 |
1.1.4 | 625 | 8/30/2021 |
1.1.3 | 597 | 8/30/2021 |
1.1.2 | 593 | 8/30/2021 |
1.1.1 | 695 | 8/29/2021 |
1.1.0 | 624 | 8/28/2021 |
1.0.1 | 528 | 8/28/2021 |
1.0.0 | 564 | 8/28/2021 |
Update to .NET 6.0.16