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.
- Sample pages using ASP.NET Core MVC
- Bower for managing client-side libraries
- Theming using Bootstrap
clone or download this repo into your local computer, check-in to the root directory of the app and run the app
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 runthe dotnet run command simultaneously re-compiles and runs the kestrel-server.
I would love to hear your feedback