FriscoVInc.DotNet.Templates.CleanBlazor 6.0.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet new install FriscoVInc.DotNet.Templates.CleanBlazor::6.0.2                
This package contains a .NET Template Package you can call from the shell/command line.

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

  1. Make sure you have the latest version of the .NET SDK installed.
  2. Open a terminal (e.g. powershell or bash) in any directory.
  3. 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)

  1. Open Visual Studio 2022.
  2. Open the New Project Dialog. CTRL+SHIFT+N.
  3. Search for Clean Blazor. Alt+S, then type 'Clean Blazor'
  4. Select the Clean Blazor Server or Clean Blazor Wasm project type.
  5. Name project and solution.
  6. Create project
  7. Done!

*General Tip: always make sure you're IDE is up to date. Easiest is to update via the Visual Studio installer.

Additional Resources

  • 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,156 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 660 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

Targeting .NET 6.0.2