A set of dotnet templates for Blazor using the RadzenBlazor package, all documentation for the Radzen components can be found here.
- Download the repo.
- In your terminal change inthe the templatepack directory.
- Execute
dotnet pack
. - You should see Successfully created package 'C:\templatepack\nupkg\Screaminlean.Radzen.Blazor.Templates.{version}.nupkg'.
- Install the template pack file with the
dotnet new -i PATH_TO_NUPKG_FILE
command.
Nuget packasge not uploaded yet! TBA. This will change one I can get a code signing certificate to upload to nuget.
- List the installed templates
dotnet new -u
. - Find the ** Uninstall Command: **
dotnet new -u Screaminlean.Radzen.Blazor.Templates.{version}
. - Run the command
dotnet new -u Screaminlean.Radzen.Blazor.Templates.{version}
.
Blazor Server Side Templates
The basic template is just a dotnet new blazorserver
project with RadzenBlazor package added and setup.
Create a New Basic Project
Run dotnet new rbsbasic -o YourProjectName
or
Run dotnet new Screaminlean.Radzen.Blazor.Server.Basic -o YourProjectName
Then run dotnet restore
see issues below.
Same as the Basic but with the individual auth set dotnet new blazorserver -o {APP NAME} -au Individual
and the RadzenBlazor package added and setup.
Create a New Auth Project
Run dotnet new rbsauth -o YourProjectName
or
Run dotnet new Screaminlean.Radzen.Blazor.Server.Auth -o YourProjectName
Then run dotnet restore
see issues below.
The template is setup using the default Sqlite database and you will need to do the initial migration and update.
Same as the Auth but with the a Idenity Manager User Interface.
Create a New IdMan Project
Run dotnet new rbsidman -o YourProjectName
or
Run dotnet new Screaminlean.Radzen.Blazor.Server.IdMan -o YourProjectName
Then run dotnet restore
see issues below.
The template is setup using the default Sqlite database and you will need to do the initial migration and update.
- Basic
- Not on Nuget (Need a signing cert)
- dotnet restore not working after new project created (Will look at this soon)
You are more than welcome to contribute!
MIT
Free Software, Hell Yeah!