小编Muh*_*Ali的帖子

问题添加 IdentityDbContext

我正在使用Asp Net core 3并尝试添加身份核心。当我添加IdentityDbContext它时会出现错误,如果我更改IdentityDbContextDbContext错误就消失了。同样的问题是当我尝试添加SQL severusingIdentityDbContext但在 using 时没有错误DbContext。我收到以下错误“没有从IdentityDbContext到的隐式引用转换Microsoft.EntityFrameworkCore.DbContext点击查看错误 我添加了以下 NuGet 包Microsoft.AspNetCore.Identity.EntityFrameworkCoreMicrosoft.EntityFrameworkCore.Sqlserver。请帮忙。

c# asp.net-identity asp.net-core asp.net-core-identity

0
推荐指数
1
解决办法
61
查看次数