I needed to create a fast membership system for the client, they had some requirements that did not allow me to use the built-in right away on the road, as well as the time to build what they wanted. I have plans to eventually implement a full membership management system, but like you, I need something now. I went with the following plan, which, ultimately, will allow me to swap the built-in providers for my own time constraints and deadlines:
(PT) - MembershipId, UserName, E-mail, . , . , , http, cookie - .
SqlProfileProvider , . ( ), MVC. . , .
:
- PT .
- Guid - MembershipId
- MemberhipUser, MemberhipId - ( ), , ..
- PT MemberhipId PrimaryKey.
PT, MembershipId , ..
:
- PT , , /
- MemberShipId
- PT
- User Membership.DeleteUser(MembershipId, true) - , aspnet_
, :)
:
User.Identity.Name MemberhipId (Guid). SignIn Role. PT - , ( ). , .., , PrimaryKey PT.
, PT, MemberhipId ( ).
auth - sprocs, , , . . - milion, , .
OpenId, , , , , , , , , ( , OpenId) MembershipId ( ).
, , , , .. . , , .