A project to demonstrate permission-based authorization
.Net 5 or higher
- Open Package Manager Console
- Select PermissionAuthDemo.Server as the Default project
- Run update-database
- Go to Solution explorer
- Right-click on PermissionAuthDemo.Server and select Set as Startup Project
- Run the App
- Enjoy
For more info read:
- https://codewithmukesh.com/blog/permission-based-authorization-in-aspnet-core/
- https://www.zehntec.com/blog/permission-based-authorization-in-asp-net-core/
For a full-fledged startup app with Clean Architecture and other cool features, checkout: