Re: Extending MembershipUser



Thanks for your response Mark,

So is there any particular custom types used in your membership provider
which is separated from your main class file (of the provider)? Also, I
think you can also consider pull the custom provider code out of the
asp.net application, make them in a separate class library project (include
in the same solution), then you can add the reference to the compiled class
library project and don't need to let the provider classes dynamically
compiled.... This may make the assembly name clear...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| NNTP-Posting-Date: Tue, 10 Jan 2006 12:18:17 -0600
| From: Mark Olbert <ChairmanMAO@xxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: Extending MembershipUser
| Date: Tue, 10 Jan 2006 10:18:17 -0800
| Organization: Olbert & McHugh, LLC
| Reply-To: mark@xxxxxxxxxxxx
| Message-ID: <0hu7s1hdm36b331d6s6pi6evp5gokk7nk7@xxxxxxx>
| References: <gt26s198st4h1bdqfqrars82lnq9ojuiuh@xxxxxxx>
<5sOap9dFGHA.224@xxxxxxxxxxxxxxxxxxxxx>
<03r7s15d0f7lbim0p6qp4n1n3mvhaabdsb@xxxxxxx>
| X-Newsreader: Forte Agent 3.1/32.783
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Lines: 5
| X-Trace:
sv3-oQ3W88ujgM+5qN3ILD8GVFlh2nizLRSue7cVZ5ZYcaONFL/rjvjrklEr4JexW/BXEaU2H2mR
+BbCwom!1X6uAcdN6TAeAVJqqhC0Wt/zJwrCsvWu/fIqtH9r4ca9dblbg2X1Ip9Q20CwaNW1NchG
Bg==
| X-Complaints-To: abuse@xxxxxxxxxxxx
| X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
| X-Postfilter: 1.3.32
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!news-out.readnews.com!news-xxxfer.readne
ws.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!nntp.giganews.c
om!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:369862
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I should also have mentioned that watching the ASPNET Configuration tool
in the debugger shows that the call to GetAllUsers()
| succeeds (i.e., instances of my custom MembershipUser class are created,
added to MembershipUserCollection and returned). The
| failure to load the Type occurs after the call to GetAllUsers().
|
| - Mark
|

.



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: Something more advance... I think.
    ... We can derive from MembershipUser and extend it as needed. ... custom provider would override GetUser to return our derived MembershipUser ... UpdateUser as well). ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • 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: using custom database for membership and rolls ?
    ... if you have a custom database...and you've written a custom membership ... provider, you don't need any setup tool. ... This is how to use Access (Jet database) for membership. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Sharing Users, but not roles between Applications
    ... -- the provider name and type would be replaced with your custom provider ... UnBlog: ... public class EconcordiaSqlRoleProvider: SqlRoleProvider ... I want to use that connection for my custom methods ...
    (microsoft.public.dotnet.framework.aspnet)