komdil/itrun-erp

Set up EF core and Identity in Account service

Opened this issue · 0 comments

komdil commented

EFContext should be inherited from IdentityContext
Create ApplicationUser class that will inherit from IdentityUser
Setup Identity using AddIdentity and make sure that database contains following tables:

Image

See the tutorial here:

https://thecodeblogger.com/2020/01/23/adding-asp-net-core-identity-to-web-api-project/