带有代码的自定义成员资格和角色提供程序教程
我一直在寻找一些实现成员资格和角色提供者的很好的工作示例。最好有示例代码可供学习。您知道某个页面有一些很好的示例吗? PS我不想实现现有的会员提供程序并将其连接起来,我想从中学习如何自己做。
谢谢
i have been looking around to find some nice working example of implementing Membership and role provider. Preferably with sample code to learn from. Do you know about some page that have some nice examples??
PS i do not want to implement the existing membership provider and hook it up, i want to learn from this how to do it myself.
thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我为此找到了以下指南。
希望这对尝试这样做的其他人有所帮助。
http:// erictopia.com/2010/05/building-a-mvc2-template-part-11-finishing-the-custom-membership-provider/
祝你好运
i have found following guide for this.
hope this helps to everyone else who is attempting to do this.
http://erictopia.com/2010/05/building-a-mvc2-template-part-11-finishing-the-custom-membership-provider/
good luck
Brian Legg 就此写了一篇很棒的小教程:
Brian Legg has written a great little tutorial about this:
发现这提供了其他方法来做到这一点:
扩展 .Net 会员资格以跟踪用户登录的好方法是什么
Found this which give other way to do this:
What is a good way to extend .Net Membership to track user logins