asp.net中的会员提供商 [英] membership provider in asp.net

查看:83
本文介绍了asp.net中的会员提供商的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







i我为管理员,员工,访客等多个用户创建网站,我想实施在我的网站上的会员资格和授权,我不想使用默认的asp.net会员提供商和它的数据库ASPNETDB,我在sql server 2008 R2中创建了自己的数据库,我想用我的用户表来管理,PLZ让我知道我怎么能这样做



(我是新的,这就是我要问的原因。)PLZ帮助我





问候





Yogesh




i am creating a website for multiple user like admin , staff, visitors, etc, and i wants to implement membership and authorization in my website , i don''t wants to use default asp.net membership provider and it database ASPNETDB , i have created my own database in sql server 2008 R2, i wants to use my "users" table to manage that, plz let me know that how can i do that

(i am new that''s why i am asking.) plz help me


regards


Yogesh

推荐答案

这真的很简单: MSDN:实施会员提供商 [ ^ ]
It''s really pretty simple: MSDN: Implementing a membership provider[^]


我建​​议你仔细阅读一篇文章 - ASP.NET身份验证和授权 [ ^ ]并学习所有概念。



然后你就可以使用默认的Asp.Net会员资格了。



为了设置数据库,请按照文章中提供的步骤或快速实现解决方案 [ ^ ]直接从Visual Studio中完成。
I would suggest you to go through the great article - ASP.NET authentication and authorization[^] and learn all the concepts.

Then you will able to use the default Asp.Net Membership.

For setting up the database for that, follow the steps provided in the article or implement the quick solution[^] to do it directly from Visual Studio.


这篇关于asp.net中的会员提供商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆