Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. services.AddDbContext<MedicalContext>(options =>
  2. options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
  3.  
  4. services.AddIdentity<ApplicationUser, IdentityRole>()
  5. .AddEntityFrameworkStores<MedicalContext>()
  6. .AddDefaultTokenProviders();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement