Clean Architecture Solution Template for ASP.NET Core 5.0. Built with Onion/Hexagonal Architecture and incorporates the most essential Packages your projects will ever need. Includes both WebApi and Web(MVC) Projects.
Use ClaimsPrincipal to validate permission to avoid query to the IdentityContext ( DB ) everytime
the AuthorizationService.AuthorizeAsync(User, Permissions) is used.
Use ClaimsPrincipal to validate permission to avoid query to the IdentityContext ( DB ) everytime the AuthorizationService.AuthorizeAsync(User, Permissions) is used.