System.Web.Profile Namespace

 

The System.Web.Profile namespace contains classes that are used to work with ASP.NET user profiles in Web server applications.

ClassDescription
System_CAPS_pubclassCustomProviderDataAttribute

Provides a string of custom data to the provider for a profile property.

System_CAPS_pubclassDefaultProfile

Represents a user-profile instance when no profile properties are defined.

System_CAPS_pubclassProfileAutoSaveEventArgs

Provides data for the ProfileAutoSaving event of the ProfileModule class.

System_CAPS_pubclassProfileBase

Provides untyped access to profile property values and information.

System_CAPS_pubclassProfileEventArgs

Provides data for the Personalize event of the ProfileModule class.

System_CAPS_pubclassProfileGroupBase

Provides untyped access to grouped ASP.NET profile property values.

System_CAPS_pubclassProfileInfo

Provides information about a user profile.

System_CAPS_pubclassProfileInfoCollection

A collection of ProfileInfo objects.

System_CAPS_pubclassProfileManager

Manages user profile data and settings.

System_CAPS_pubclassProfileMigrateEventArgs

Provides data for the MigrateAnonymous event of the ProfileModule class.

System_CAPS_pubclassProfileModule

Manages the creation of the user profile and profile events. This class cannot be inherited.

System_CAPS_pubclassProfileProvider

Defines the contract that ASP.NET implements to provide profile services using custom profile providers.

System_CAPS_pubclassProfileProviderAttribute

Identifies the profile provider for a user-profile property.

System_CAPS_pubclassProfileProviderCollection

A collection of objects that inherit the ProfileProvider abstract class.

System_CAPS_pubclassSettingsAllowAnonymousAttribute

Identifies whether a profile property can be set or accessed for an anonymous user.

System_CAPS_pubclassSqlProfileProvider

Manages storage of profile information for an ASP.NET application in a SQL Server database.

DelegateDescription
System_CAPS_pubdelegateProfileAutoSaveEventHandler

Represents the method that will handle the ProfileAutoSaving event of a ProfileModule.

System_CAPS_pubdelegateProfileEventHandler

Represents the method that will handle the Personalize event of a ProfileModule.

System_CAPS_pubdelegateProfileMigrateEventHandler

Represents the method that will handle the MigrateAnonymous event of the ProfileModule class.

EnumerationDescription
System_CAPS_pubenumProfileAuthenticationOption

Describes the authentication type of user profiles to be searched.

ASP.NET profiles are used to store and retrieve user settings in a data source such as a database. Profile information and property values are managed by using a profile provider. Profile information can be stored in a Microsoft SQL Server database by using the SqlProfileProvider class, or in a custom data source by using an implementation of the ProfileProvider abstract class.

ASP.NET profiles are configured by using the configuration section.

When an application starts that has profiles enabled, ASP.NET creates a new class of type ProfileCommon, which inherits from the ProfileBase class. Strongly typed accessors are added to the ProfileCommon class for each property that is defined in the configuration section. An instance of the ProfileCommon class is set as the value of the Profile property of the current HttpContext object. You can create a custom profile implementation that inherits from the ProfileBase abstract class and that defines properties for the user profile that are not specified in the configuration element.

Return to top
Show: