GokeBlazor.Templates
0.5.0
dotnet new install GokeBlazor.Templates::0.5.0
This package contains a .NET Template Package you can call from the shell/command line.
Blazor for various Authentication and Authorization
A sample project showcasing a blazor webassembly app that can switch between various authentication and authorization such as IdentityServer and Aspnet Identity.
The default authentication scheme is Aspnet identity. It can be changed to IdentityServer by changing the value of Identity
section in the appsetting.json
file in both the Client and Server project.
How to run
- Install the latest dotnet sdk and the latest Visual Studio.
- Clone or download or Install Template.
- Keep or change Identity settings to:
AspnetIdentity
IdentityServer
- Open the solution in Visual Studio and press F5.
- Create a user using the
Create Account
button in the login page or login if you have already created a user. - A default user in role(s)
Gamers
can assess the Game page. SeeSeedData
for roles creation.- Set User Secret using the following keys and values except UserPWD, please adjust appropriately.
- "Seed:UserUN": "gamer@ark.com"
- "Seed:UserPWD": "xxxxxxxxx"
- "Seed:UserRoles": "Gamers,Users"
- Set User Secret using the following keys and values except UserPWD, please adjust appropriately.
Install Template
dotnet new --install GokeBlazor.Templates
then Create project
dotnet new GokeBlazor [-o [Project Name]]
Credit
- Credit to https://github.com/stavroskasidis/BlazorWithIdentity
- Blazor WebAssembly App template (dotnet new blazorwasm )
Donation
Contact
https://goke.azurewebsites.net
https://goke.me
https://github.com/goke-ai/GokeBlazor
-
.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.
Version | Downloads | Last updated |
---|---|---|
0.5.0 | 2,464 | 1/8/2021 |