在 ASP.NET 中创建自定义成员资格和个人资料提供程序

发布于 2024-11-01 04:34:29 字数 267 浏览 6 评论 0原文

我有一个自定义数据库架构,我想将其用于自定义成员资格提供程序。

任何人都可以给出一步一步的过程来执行此操作,因为当我尝试创建类库项目并扩展我的 CustomProvider 时,没有 MembershipProvider,只有 SqlMembershipProviderActiveDirectoryMembershipProvider,即使附加了所有引用。

请帮我解决一下。

I have a custom database schema that I want to use for the Custom Membership Provider.

Can anyone give a step by step procedure to do so because when I tried to create a class library project and extended my CustomProvider there was no MembershipProvider, just the SqlMembershipProvider and the ActiveDirectoryMembershipProvider, even with all the references attached.

Please help me guys with it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

听闻余生 2024-11-08 04:34:30

在.net4中,它似乎已被放入System.Web.ApplicationServices dll中,即使命名空间是System.Web.Security,而SqlMembershipProvider仍然位于中系统.Web.安全

namespace System.Web.Security
    Member of System.Web.ApplicationServices

public class SqlMembershipProvider : System.Web.Security.MembershipProvider
    Member of System.Web.Security

In .net4 it seems to have been put into the System.Web.ApplicationServices dll even though the namespace is System.Web.Security while the SqlMembershipProvider still sits in System.Web.Security.

namespace System.Web.Security
    Member of System.Web.ApplicationServices

public class SqlMembershipProvider : System.Web.Security.MembershipProvider
    Member of System.Web.Security
居里长安 2024-11-08 04:34:29

自定义会员资格提供程序的创建在此 中进行了解释视频,作者:克里斯·佩尔斯。希望这有帮助。

The custom membership provider creation is explained in this video by chris pels. Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文