如果 Microsoft.AspNetCore.Authentication 现在已经弃用,应该使用哪个包?

huangapple go评论66阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年5月11日 17:52:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/76226330.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定