stavroskasidis / BlazorWithIdentity

A project template for a blazor hosted app using cookie based authentication with ef core identity.
MIT License
458 stars 106 forks source link
authentication blazor blazor-client blazor-webassembly cookie-authentication entity-framework-core identity

Blazor with Identity

Build status Nuget (with prereleases) Nuget Donate

A project template for a blazor wasm hosted app using cookie based authentication with ef core identity

Using the template

  1. Install the template
    dotnet new --install BlazorWithIdentity.Template
  2. Create a new project
    dotnet new blazorwithidentity -o MyBlazorApp

How to run

  1. Install the latest dotnet sdk and the latest Visual Studio.
  2. Clone or download.
  3. Open the solution in the template folder and press F5.
  4. Create a user using the Create Account button in the login page or login if you have already created a user.

Live demo

https://blazorwithidentity.azurewebsites.net/