ASP.NET Core 2.1 Custom RoleProvider with Windows Authentication
问题 I am migrating applications away from the ASP.Net MVC 5 framework to the new .Net Core 2.1. I used Windows Authentication with a Custom RoleProvider in the MVC 5 Projects as shown in the link below. ASP.NET MVC How to create a custom role provider How do I accomplish the same in Core 2.1 as it does not seem to contain RoleProvider capability? Every example I come across uses Individual Accounts with IdentityUser and IdentityRole. My custom tables for User and Roles : public class User {