Re: How to Remote a custom membership or profile provider ???

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Your problem isn't completely clear. When you create your own custom provider, you choose which configuration attributes it has. If you don't want your provider to have a connectionStringName property, don't add it to your provider and write the code to support it (it is not a required attribute).

Keep in mind there are different providers for different features. For example, there is a Membership provider (authentication), Role provider (authorization), and Profile provider (personalization). If you are trying to use all of those features, you will have to create a custom provider implementation for each.

Your post only mentions creating a custom profile provider, so I'm guessing you probably still need to write custom Membership and Role providers if you want to take advantage of those features. If you want to use the Login controls, you will definitely have to create a custom Membership provider that uses remoting to get its data, as opposed to the default SqlMembershipProvider which uses a connection string.

If you need to create a custom Role provider, my RoleProvider Visual Studio template should save you some time:
http://flimflan.com/blog/ASPNETRoleProviderVisualStudioTemplate.aspx



Hope that helps.

Joshua Flanagan
http://flimflan.com/blog
.



Relevant Pages

  • RE: WebPart Personalization Blob Deserialize Error
    ... you're writing your custom code to load binary data ... personalization provider or customize the existing one will you need to ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Help with Form authentication
    ... If you want to use UserId as cookie key, you can create a custom Login ... public string GetUserID(string strUserName) ... 2.Create Login Form page and use custom provider to retrieve UserId: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problem implimenting a Custom Active Directory Role Provider
    ... worker process in debug menu (use IISAPP from prompt to sort out what ... AD and users in custom database, ... administration so that you can add custom provider member/roles to the ... accessible through Forms Authentication and cannot use Windows Authentication ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Help with Form authentication
    ... I see it reading the Authentication section of ... this kind of brings me to believe what I may really need is a custom ... role provider and perhaps a custom membership provider. ... And the custom membership provider as it looks like I may need to override ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Help with Form authentication
    ... If you want to use UserId as cookie key, you can create a custom Login ... public string GetUserID(string strUserName) ... 2.Create Login Form page and use custom provider to retrieve UserId: ...
    (microsoft.public.dotnet.framework.aspnet)