Using ASP.NET Identity on MVC 5 project but httpcontext User.ProviderName is “AspNetSqlRoleProvider”
问题 I have a MVC 5 project using ASP.NET Identity (Invidual user account). As Database ORM I am using Entity framework 6 and IoC is taken care by Ninject. Solution structure is following MVC project -- has my controllers, views and ninject setup. For Ninject I got Ninject.MVC3 from nuget. Data project --- has my DataContext (IdentityDbContext) and my ApplicationUser (IdentityUser). My Data services and all repositories Core project -- has all my entities and interfaces [Authorize] attribute works