如何实现ASP.NET身份到空MVC项目 [英] how to implement ASP.NET Identity to an empty MVC project
问题描述
我创建一个新的空 MVC
的项目,我想的身份添加到它。
现在我不知道该怎么做,以及如何创建数据库和表和类。
我搜查,但我没有找到我的问题任何有用的解决方案,我发现了一篇文章从而是ASP.Net MVC $ C $加ASP.NET身份到现有空的ASP.NET Web C>项目,我没找到。结果
日志中的结果
登记表 -
为将用户添加到角色结果
删除用户搜索
如何创建我自己的数据库表搜索
如何管理用户
I create a new empty MVC
project and I want to add identity to it.
Now I do not know how to do this and how to create database and tables and classes.
I searched but I did not find any useful solution for my question, I found an article for adding ASP.NET Identity to an existing empty ASP.NET Web from but for ASP.Net MVC
project I did not find.
for log in
for registration form
for adding a user to role
for deleting user
how to create tables in my own database
how to manage users
推荐答案
我一直在寻找同样的事情,下面的博客文章帮我这样的:
I was looking for the same thing and the following blog posts helped me with this:
<一个href=\"http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-1\">http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-1
<一个href=\"http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-2\">http://benfoster.io/blog/aspnet-identity-stripped-bare-mvc-part-2
这篇关于如何实现ASP.NET身份到空MVC项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!