The entity type IdentityUser is not part of the model for the current context

前端 未结 4 1410
轻奢々
轻奢々 2021-01-01 21:56

I am seeing the same issue as this question, but the scenario presented there doesnt seem to apply so I think I have a different issue. In fact, I\'m seeing several question

4条回答
  •  鱼传尺愫
    2021-01-01 22:42

    Here is some step i figured out while resolving this issue

    1. First Check your database for Table of ASP.Net Identity
    2. Create these table on your database if not exist you can also apply migration
    3. Check the below image and verify your code

    Register Action

    IdentityDbContext Class

提交回复
热议问题