Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 26, 2010 07:56 PM by hans_v
Member
13 Points
34 Posts
Feb 26, 2010 07:22 PM|LINK
Hey,
I've never done anything connected with mempership and roles providers so i'd like to ask you for some clues how to do this property.
I've got my own database with table "users" (columns: address, phone.......)
i don't want to 10MB database which asp.net configuration created me :/ and on users table doesn't exist address and others columns i need...
but some default columns :/ I would like to connect membership with my own database . i read something about that
i have to override around 30 methods... .
Could you tell me how to do this property ?? Is there a necessery to use asp.net configuration tool ??
How should i eliminate differences between database's created by asp.net configuration and my own database to property
manage membership and roles.?
i hope you know what i mean ;)
thx for help.
sorry for my english BTW.
All-Star
35998 Points
6551 Posts
Feb 26, 2010 07:56 PM|LINK
aspeciak Is there a necessery to use asp.net configuration tool ??
No
aspeciak How should i eliminate differences between database's created by asp.net configuration and my own database to property manage membership and roles.?
Create your own Custom provider(s)
http://msdn.microsoft.com/en-us/library/f1kyba5e.aspx http://msdn.microsoft.com/en-us/library/8fw7xh74.aspx http://msdn.microsoft.com/en-us/library/0580x1f5(VS.80).aspx
also watch thes video's
http://www.asp.net/learn/videos/video-189.aspx http://www.asp.net/learn/videos/video-190.aspx
aspeciak
Member
13 Points
34 Posts
Membership and Roles - custom database.
Feb 26, 2010 07:22 PM|LINK
Hey,
I've never done anything connected with mempership and roles providers so i'd like to ask you for some clues how to do this property.
I've got my own database with table "users" (columns: address, phone.......)
i don't want to 10MB database which asp.net configuration created me :/ and on users table doesn't exist address and others columns i need...
but some default columns :/ I would like to connect membership with my own database . i read something about that
i have to override around 30 methods... .
Could you tell me how to do this property ?? Is there a necessery to use asp.net configuration tool ??
How should i eliminate differences between database's created by asp.net configuration and my own database to property
manage membership and roles.?
i hope you know what i mean ;)
thx for help.
sorry for my english BTW.
hans_v
All-Star
35998 Points
6551 Posts
Re: Membership and Roles - custom database.
Feb 26, 2010 07:56 PM|LINK
No
Create your own Custom provider(s)
http://msdn.microsoft.com/en-us/library/f1kyba5e.aspx
http://msdn.microsoft.com/en-us/library/8fw7xh74.aspx
http://msdn.microsoft.com/en-us/library/0580x1f5(VS.80).aspx
also watch thes video's
http://www.asp.net/learn/videos/video-189.aspx
http://www.asp.net/learn/videos/video-190.aspx