What is the difference between Microsoft.AspNet.Identity.Core and Microsoft.AspNetCore.Identity?

十年热恋 提交于 2019-12-01 15:58:55

Microsoft.AspNet.Identity.Core has nothing to do with ASP.NET Core, it's just a way to tell that it is the main (hence the word "core") library of ASP.NET Identity (pre-ASP.NET Core version). Since you are not using ASP.NET Core, you have to use Microsoft.AspNet.Identity.Core.

Basically, you have two scenarios:

  • Either you're using ASP.NET Core, in which case you'll have to use Microsoft.AspNetCore.Identity
  • Or you're using an ASP.NET version before ASP.NET Core, and you'll have to use Microsoft.AspNet.Identity.Core.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!