Re: Implementing our own providers

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



When you inherit from MembershipProvider, you are responsible for how
all of those methods work. Nothing will be implemented for you.

Pradeep wrote:
Thanks for that info John,
But I want all the personalization information to be stored in a my own
set of tables instead of the default aspnet tables..Is there a way to
achieve this..?
Bye


john_teague wrote:
The Membership system is maintained through 3 classes. A class that
inherits from the abstract MembershipProvider class, the MembershipUser
(or a class that inherits it) and the static Membership class
referenced. in Page.

The work to create your own Membership provider is to create a class
that inherits from MembershipProvider. At a minimum, you will need to
override ValidateUser and GetUser to use the login control. If you
plan on using any of the other controls you will need to implement
other methods like CreateUser, ChangePassword, etc...

Now you just change the <membership> config settings to use your
provider.

All of the providers supplied by MS are now open source, this site has
all the info you need for any of the providers.

http://msdn.microsoft.com/asp.net/downloads/providers/



Pradeep wrote:
hello,
I want to implement my own provider in asp.net instead of the default
aspnetsqlmembershipprovider... i want to implement my provider in such
a way that i want it to get the data from my own schema instead of
creating and using the default set of aspnet db....could anyone tell me
how this can be done ??
bye

.



Relevant Pages

  • Re: Architecture: Custom Profile Provider with Active Directory Membership
    ... While you can perform insert/update/delete operations on users, the one thing that you can't change is the username. ... So, it stands to reason that if you perform a rename in AD, you are doing it outside of the context of the MembershipProvider, and unfortunately, it would be up to you to relocate profile information for any accounts that you changed the name of. ...
    (microsoft.public.dotnet.languages.csharp)
  • MembershipProvider and ADAM
    ... I am trying to find the simplest way to work with ADAM ... and I have discovered the MembershipProvider class.... ... I try to get the membership provider like so: ... "Unable to establish secure connection with the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Custom Membership Provider will nicht so wirklich
    ... Fehler in der Konfig ... > Benutzerverwaltung existiert muss ein eigenener MemberShipProvider her um ... > Provider name cannot be null or empty. ... > An unhandled exception occurred during the execution of the current web ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: Custom MembershipProvider
    ... Den Provider stellst du in der web.config um ... > ich habe hier eine ASP-Anwendung und eine Access2003-DB, ... > Custom MembershipProvider, ... Wie kann ich jetzt jedoch meinen Benutzer zu einem MembershipUser ...
    (microsoft.public.de.german.entwickler.dotnet.asp)