使用MVC 3实施自己的登录过程 [英] Implement Own Login Process with MVC 3
本文介绍了使用MVC 3实施自己的登录过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在ASP.NET MVC 3中实现自己的登录过程?
我想控制用户名和密码.
我希望将这些信息以及其他信息存储在我自己的数据库中.
我该怎么办?
什么是会员资格及其运作方式?
预先谢谢您.
How can I implement my own login process in ASP.NET MVC 3?
I want to have control over the usernames and passwords.
I want that information in my own database as well as other information.
How can I do this?
What is Membership and how does it work?
Thank you in advance.
推荐答案
研究SQL成员资格以获取基础知识,然后单击链接 ^ ]创建自定义成员身份.
Study about SQL Membership to get the basics and then follow the link http://www.shiningstar.net/aspnet_articles/customprovider/CustomProvider.aspx[^] to create custom membership.
我遇到了一些链接,而 Asp.Net MVC应用程序的自定义成员提供程序.
http://www.a2zdotnet.com/View.aspx?Id=77
http://schotime.net/blog/index.php /2009/02/17/custom-authorization-with-aspnet-mvc/
http://stackoverflow.com/questions/1641779/implementing-custom-login- for-asp-net-mvc
http://stackoverflow.com/questions/1544919/asp-net-mvc-custom-authentication
HTH
I have come across few link while googling. Find your answer in following links.
I found one nice article in code project itself about Custom Member Provider for Asp.Net MVC Application.
http://www.a2zdotnet.com/View.aspx?Id=77
http://schotime.net/blog/index.php/2009/02/17/custom-authorization-with-aspnet-mvc/
http://stackoverflow.com/questions/1641779/implementing-custom-login-for-asp-net-mvc
http://stackoverflow.com/questions/1544919/asp-net-mvc-custom-authentication
HTH
这篇关于使用MVC 3实施自己的登录过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文