I am trying to configure Identity Store Encountered a problem.
This is what I have so far:
Startup.cs
services.AddIdentity()
.AddEntityFrameworkStores()
.AddDefaultTokenProviders();
This line gives me a headache. AddEntityFrameworkStores is for EF Core, not for the completeness of EF 6 Version.
How to reference the basic data storage of EF6
Thank you
Try AddEntityFrameworkStores
< /div>
I am using EF6 as ORM to create a new project in ASP.NET Core-pay attention to EF Core.
I encountered To the question.
This is what I have so far:
Startup.cs
services.AddIdentity( )
.AddEntityFrameworkStores()
.AddDefaultTokenProviders();
This line gives me a headache. AddEntityFrameworkS tores applies to EF Core, not to the full version of EF 6.
How to reference the basic data storage of EF6
Thank you
< /p>
You seem to have overridden the default data type of ApplicationUser and IdentityRole Id.
Try AddEntityFrameworkStores