Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/296.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/vba/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 需要ASP.NET标识的参考_C#_Asp.net_.net_Entity Framework_Asp.net Identity - Fatal编程技术网

C# 需要ASP.NET标识的参考

C# 需要ASP.NET标识的参考,c#,asp.net,.net,entity-framework,asp.net-identity,C#,Asp.net,.net,Entity Framework,Asp.net Identity,如何将ASP.NET Identity应用到空的web项目中?我没有为您使用google ing,我只是碰巧自己在做一些研究,并遇到了以下资源 在odetocode.com和上有两篇很好的博客文章 关于空网页项目的主题(摘自上述链接的评论): 想要从头开始的人通常希望使用自己的用户定义创建一个.Domain或.Core程序集,该用户定义可以插入Identity框架。不幸的是,这意味着您要么依赖域程序集中的实体框架(从IdentityUser继承),要么从头开始重新实现IUser和IUserSto

如何将ASP.NET Identity应用到空的web项目中?

我没有为您使用google ing,我只是碰巧自己在做一些研究,并遇到了以下资源

在odetocode.com和上有两篇很好的博客文章

关于空网页项目的主题(摘自上述链接的评论):

想要从头开始的人通常希望使用自己的用户定义创建一个.Domain或.Core程序集,该用户定义可以插入Identity框架。不幸的是,这意味着您要么依赖域程序集中的实体框架(从IdentityUser继承),要么从头开始重新实现IUser和IUserStore。对于一个新的应用程序来说,使用像ApplicationUser这样的类也容易得多,但是在您弄清楚所有的部分之前(比如如何使用EF进行映射),使用现有的模式管理起来有点困难

还有标识数据库模板,其中包含ASP.NET标识中使用的所有脚本、UDT等。

此外,Brock Allen还提供了一些关于ASP.NET标识的内容。