Posted on: 11/23/2014 9:47:09 AM | Views : 3900

hello,
I created asp.net identity classes like this:
namespace NewApp.Identity { public class StoreUser : IdentityUser { // application-specific properties go here } public class StoreRole : IdentityRole { public StoreRole() : base() { } public StoreRole(string name) : base(name) { } } public class StoreIdentityDbContext : IdentityDbContext<StoreUser> { public StoreIdentityDbContext() : base("DefaultConnection") { Database.SetInitializer<StoreIdentityDbContext>(new StoreIdentityDbInitializer()); } public static StoreIdentityDbContext Create() { return new StoreIdentityDbContext(); } } public class StoreUserManager : UserManager<StoreUser> { public StoreUserManager(IUserStore<StoreUser> store) : base(store) { } ...

Go to the complete details ...