Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Membership Provider for asp.net using c#

Tags:

c#

asp.net

How i can realise my own Membership Provider for my social network example project where i want to use more extended registration with new fields? Thanks.

like image 370
Vlad Omelyanchuk Avatar asked Jun 11 '10 12:06

Vlad Omelyanchuk


1 Answers

Membership Providers are not meant for holding user profile details, their purpose is to give your application a mechanism for authentication and user-management - that's it. Like, Fermin correctly said, create a seperate table with one-to-one relation with your primary membership provider table on its UserId. Given this fact, you actually don't need a custom membership provider unless your member provider has to work against a different table with different schema for holding membership details.

like image 158
this. __curious_geek Avatar answered Oct 31 '22 22:10

this. __curious_geek