A Simple XmlProfileProvider
A simple XmlProfileProvider can be created without any membership provider. This MSDN article provides the basics of creating a Custom Profile Provider. The most important methods to override are: Initialize, GetPropertyValues, SetPropertyValues, GetProfilesByUserName, GetProfiles. The rest of the method can be implemented for the sake of completeness (of implementing the ProfileProvider base class). The following zip file contains a sample implementation of the simplest XmlProfileProvider. This provider supports only the basic primitive types, String, DateTime. Complex objects are serialized using .ToString()
Sample XmlProfileProvider
Sample XmlProfileProvider
Posted by Vijay on 18-Aug-2010 08:55 PM
Category : ASP.NET
Category : ASP.NET


