namespace App { using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Data.Entity; public class ApplicationDbContext : IdentityDbContext { protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { // ToDo: Obtain these values from the environment, rather than hard-coding them. optionsBuilder.UseNpgsql("Server=aspnet;Database=aspnet;Username=aspnet;Password=aspnet;"); } } }