Using ASP.NET Identity for a Role Provider easily
问题 I just spent the last two days researching and implementing the new ASP.NET Identity system with my existing database. More on that here: Integrating ASP.NET Identity into Existing DbContext. Now, I have a working UserStore and RoleStore , but I can't seem to figure out how to leverage them in my ASP.NET MVC 5 application without writing what seems like colossal amounts of code like in all the Identity samples that confuse me. There's two things I want to achieve: 1) use cookies to maintain