You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
For the membership providers that ship with ASP.NET 3.5, where is the class file located with all the properties and functions? I want to see how all the methods are written and to customize those methods with my own code.
I know i could for example, create a seperate class file and write the following:
public class xmlMembershipProvider inherits membershipProvider
and it would give me a list of all the functions and properties associated with the file.
I would, however, like to see the source class and all the completed functions and properties..
Another question, maybe others are having the same thoughts:
For example, say if I want to add an extra field to the login control
such as a PIN number. How would you go about configuring the sqlmembership provider to work with that new field, as well as the new field you would have to add to the database? How does the sqlmembership provider know to work with a new field in the database? How would you go about setting that up?
However, I find this not intuitive to work with. Instances of MembershipUser returned from the Membership API are returned as MembershipUser, not your custom type, so you always need to remember to cast the return value into your own type.
IMO, it's much easier to use Profile for this. For more info: