I\'m using ASP.NET Core 2.1 with the new Identity framwork from .NET. The regular Authorization attribute works as long as no role specific role is requested.>
Authorization
Hmmm. I have the following code in an Asp.Net 2.1 project that is working:
services.AddDefaultIdentity() .AddRoles() //.AddDefaultUI(UIFramework.Bootstrap4) .AddDefaultTokenProviders() .AddEntityFrameworkStores();