.NET Profile

 

Applies To: Windows Server 2012 R2, Windows Server 2012

Use the .NET Profile feature page to manage a list of profile properties that are used to track any custom information your application requires.

Sort the list by clicking one of the feature page column headings or select a value from the Group by drop-down list to group similar items.

Related scenarios

In this document

UI Elements for .NET Profile

The following tables describe the UI elements that are available on the feature page and in the Actions pane.

Feature Page Elements

Element Name

Description

Name

Displays the name of the profile property.

Data Type

Displays the data type for the property. This will be either a common data type such as String, Int32, DateTime, StringCollection, and so on, or a custom data type that contains custom information that is passed to the profile provider.

Default Value

Displays the value to which the property is initialized.

Allow Anonymous

Displays whether the property is managed for anonymous users. The value is either True or False.

Entry Type

Displays whether the item is local or inherited. Local items are read from the current configuration file, and inherited items are read from a parent configuration file.

Actions Pane Elements

Element Name

Description

Add Property

Opens the Add .NET Profile Property dialog box from which you can add a .NET profile property.

Add Group

Opens the Add Group dialog box from which you can add a group to group .NET profile properties.

Add Property to Group

Opens the Add .NET Profile Property to Name Group dialog box from which you can add .NET profile properties to the selected group.

Edit

Opens the Edit .NET Profile Property or Edit .NET Profile Property in Name Group dialog box from which you can edit the selected .NET profile property.

Rename

Enables the Name field of the selected .NET profile property so that you can rename the property.

Remove

Removes the item that is selected from the list on the feature page.

Disable

Disables the .NET Profile feature.

Set Default Provider

Opens the Edit Profile Settings dialog box from which you can select a default provider for the feature.

Providers

Opens the Providers feature page from which you can add additional providers for the .NET Profile feature.

Add or Edit .NET Profile Property Dialog Box

Use the .NET Profile Property dialog box to set or edit profile properties that track any custom information that your application requires, including:

  • User information, such as an address or city.

  • Preferences, such as a color scheme or list of stocks to follow.

  • Custom information about the current session, such as a shopping cart.

Element Name

Description

Name

Defines the name of the profile property.

Data Type

Specifies the type for the property. The default is String. You can specify any .NET class as the type (Int32, DateTime, StringCollection, and so on).

Default value

Specifies the value with which the property is initialized.

Serialization option

Specifies the serialization formatter (String, Binary, XML, or Provider Specific serialization). The default is String.

Read only

Specifies whether the property can be modified.

Available for anonymous users

Specifies whether the property is managed for anonymous users. By default, this check box is clear.

Add or Edit Group Dialog Box

Use the Add Group dialog box to add a profile group. Groups are helpful for organizing profile properties.

Element Name

Description

Name

Defines the name of the profile group.

Edit Profile Settings Dialog Box

Use the Edit Profile Settings dialog box to define the default interface between the ASP.NET membership service and membership data sources.

Element Name

Description

Default Provider

Defines the default interface between the ASP.NET membership services and membership data sources.

Note

The default ASP.NET computer configuration contains a default SqlProfileProvider instance named AspNetSqlProfileProvider that connects to SQL Server on the local computer. By default, the ASP.NET profile feature uses this instance of the provider. Alternatively, you can specify a different default provider. For more information about ASP.NET profile providers, see ASP.NET Profile Providers.