英文:
What package to use if Microsoft.AspNetCore.Authentication is now deprecated?
问题
以下是翻译好的部分:
我有一个ASP.Net WebApi项目,一些包(例如Microsoft.AspNetCore.Authentication)现在被标记为弃用。
应该使用哪些替代包?
英文:
I have an ASP.Net WebApi project and some packages (eg. Microsoft.AspNetCore.Authentication) are now flagged as deprecated.
What are the alternative packages that should be used?
答案1
得分: 5
I guess you mean Microsoft.AspNetCore.Authentication 2.2.0 is deprecated.
Have a look at Migrate from ASP.NET Core 2.2 to 3.0, and I suggest you use:
Microsoft.AspNetCore.Identity.UI
Microsoft.AspNetCore.Identity.EntityFrameworkCore
You can read ASP.NET Core authentication to know more.
英文:
I guess you mean Microsoft.AspNetCore.Authentication 2.2.0 is deprecated.
Have a look at Migrate from ASP.NET Core 2.2 to 3.0 , and I suggest you use :
Microsoft.AspNetCore.Identity.UI
Microsoft.AspNetCore.Identity.EntityFrameworkCore
You can read ASP.NET Core authentication to know more.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论