Skip to content

Latest commit

 

History

History
executable file
·
26 lines (17 loc) · 1.16 KB

File metadata and controls

executable file
·
26 lines (17 loc) · 1.16 KB

ASP.NET Core role based authentication and custom role creation

Code sample detailing how to create custom roles in ASP.NET core on startup and role-based authentication using role checks and policy based checks.

This application consists of:

  • Sample pages using ASP.NET Core MVC
  • Bower for managing client-side libraries
  • Theming using Bootstrap

Installing

clone or download this repo into your local computer, check-in to the root directory of the app and run the app

Run & Deploy

restore the .NET core packages described in the package.json, install the npm and bower dependencies,and then update database with the migrations and run the project:

dotnet run

the dotnet run command simultaneously re-compiles and runs the kestrel-server.

I would love to hear your feedback