开发者

create a custom membership and profile provider in asp.net

开发者 https://www.devze.com 2023-02-25 09:51 出处:网络
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 ext

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 exten开发者_如何学JAVAded my CustomProvider there was no MembershipProvider, just the SqlMembershipProvider and the ActiveDirectoryMembershipProvider, even with all the references attached.

Please help me guys with it.


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


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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号