简体   繁体   English

会员提供者

[英]membership provider

I am a new guy in Asp.net. 我是Asp.net的新手。 I have one requirement of doing one asp.net application with Custom Membership provider. 我有一个要求与“自定义成员资格”提供程序一起做一个asp.net应用程序。 If you any source code of the same, please share with me. 如果您有任何相同的源代码,请与我分享。 I searched alots in net. 我在网上搜索了很多。 but i couldnt understand completely yet. 但是我还不能完全理解。 Please help me.. 请帮我..

Nobody here will share commercial code with you.By knowing this fact,you should consider before asking your questions. 这里没有人会与您共享商业代码。通过了解这一事实,您在提出问题之前应该考虑一下。

For your interest of membership,you should search for custom membership implementation 为了您的会员权益,您应该搜索自定义会员实施

Have you checked MSDN documents? 您检查了MSDN文档吗?
I think they should be sufficient to understand easily with examples. 我认为他们应该足以通过示例轻松理解。
Implement a Custom Membership 实施自定义会员资格
Implementing a Membership Provider 实施会员提供者

I have created a Membership , Role , and Profile providers for MongoDB (mongodb.org). 我已经为MongoDB(mongodb.org)创建了MembershipRoleProfile提供程序。

The source code is here: 源代码在这里:

https://github.com/agarcian/MongoDBASPNetProviders https://github.com/agarcian/MongoDBASPNetProviders

I used http://msdn.microsoft.com/en-us/library/ms366730.aspx (referenced in the accepted answer) as the basis for my code. 我使用http://msdn.microsoft.com/en-us/library/ms366730.aspx (在接受的答案中引用)作为我的代码的基础。

I have found that the Membership provider is most useful when coupled with the Profile provider, and sometimes with the Role provider. 我发现,与概要文件提供程序(有时与角色提供程序)结合使用时, 成员资格提供程序最有用。

There is a good new open source Membership Provider that works with ASP.NET MVC4. 有一个很好的新的开源成员资格提供程序,可以与ASP.NET MVC4一起使用。 Very Flexible and main dev is developing permissions system addon for it, so you can get more thne usual membership 非常灵活,主要开发人员正在为其开发权限系统插件,因此您可以获得更多的普通会员资格

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM