I\'ve used ASP.net membership for years and am just starting to try out ASP.net Identity. They just released version 2.0 and which is supposed to support int
pr
Grrr...... So after wasting a couple hours on this, I copied my rules and pasted them below the base.OnModelCreating(modelBuilder);
line and everything worked properly. I didn't realize that the base method needed to be called first :(
Everything is working properly now using the following configuration:
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder); // This needs to go before the other rules!
modelBuilder.Entity().ToTable("Users");
modelBuilder.Entity().ToTable("Roles");
modelBuilder.Entity().ToTable("UserRoles");
modelBuilder.Entity().ToTable("UserLogins");
modelBuilder.Entity().ToTable("UserClaims");
}