Mkx.Templates.Blazor
1.0.13
dotnet new install Mkx.Templates.Blazor@1.0.13
Mkx.Templates.Blazor
This is a Visual Studio and dotnet CLI template for a Blazor solution utilizing .NET 10 and the modern .slnx solution format.
Template structure
When instantiated, the template generates:
- An XML-based
.slnxsolution file containing five numbered folders:1. App2. Shared3. Core4. Sdk5. Tests
- A
nuget.configfile. - A
src/directory containing the correspondingApp,Shared,Core,Sdk, andTestsdirectories.
How to Package
To build the NuGet package, run the following command from the root directory:
dotnet pack -c Release
This will produce the NuGet package file under bin/Release/Mkx.Templates.Blazor.1.0.0.nupkg.
How to Install Locally
To install the template from the generated package:
dotnet new install bin/Release/Mkx.Templates.Blazor.1.0.0.nupkg
Alternatively, to install it in editable development mode from the local directory:
dotnet new install ./template-content
How to Instantiate
Once installed, you can create a new solution by running:
dotnet new mkx-blazor -n MyCompany.MyProject
This will create a new folder named MyCompany.MyProject containing your .slnx solution and folder structure.
-
.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.