Skip to content

Instantly share code, notes, and snippets.

@PadreSVK
Created December 15, 2019 18:11
Show Gist options
  • Save PadreSVK/16172afbeac16df512dd530309a5248d to your computer and use it in GitHub Desktop.
Save PadreSVK/16172afbeac16df512dd530309a5248d to your computer and use it in GitHub Desktop.
Registration of identity infrastructure to IoC
services.AddIdentity<User, Role>()
.AddEntityFrameworkStores<OpenWeatherDbContext>()
.AddUserManager<UserManager>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment