What if you have your own database and a BAL (Business Access Layer) and don't want to use DefaultConnection and the template ASPNET database tables but my own user tables?
How can you use a custom database?
ConnectionString:
public class AppDbContext : IdentityDbContext<AppUser>
{
public AppDbContext() : base("DefaultConnection")
{
}
}
Web.config
<add name="DefaultConnection"
connectionString="Data Source=(LocalDb)\v11.0;
AttachDbFilename=|DataDirectory|\NakedIdentity-Mvc.mdf;
Initial Catalog=NakedIdentity-Mvc;Integrated Security=True"
providerName="System.Data.SqlClient" />