Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System.Web.Configuration Namespace

Updated: November 2007

The System.Web.Configuration namespace contains classes that are used to set up ASP.NET configuration.

  ClassDescription
AdapterDictionaryInfrastructure. Used internally at run time by the configuration system to contain the names of the available adapters used to render server controls on different browsers.
AnonymousIdentificationSection Configures anonymous identification for users that are not authenticated. This class cannot be inherited.
AssemblyCollection Represents a collection of AssemblyInfo objects. This class cannot be inherited.
AssemblyInfo References an assembly to be linked to during compilation of a dynamic resource. This class cannot be inherited.
AuthenticationSection Configures the authentication for a Web application. This class cannot be inherited.
AuthorizationRule The AuthorizationRule class allows you to programmatically access and modify the authorization section of a configuration file. This class cannot be inherited.
AuthorizationRuleCollection Represents a collection of AuthorizationRule objects. This class cannot be inherited.
AuthorizationSection Configures a Web application authorization. This class cannot be inherited.
BrowserCapabilitiesCodeGeneratorInfrastructure. The BrowserCapabilitiesCodeGenerator class is used internally by the aspnet_regbrowsers tool to parse .browser browser definition files and add browsers to the run-time collection of known browsers contained in the BrowserCapabilitiesFactory object.
BrowserCapabilitiesFactoryInfrastructure. Used internally by the configuration system to produce request-specific instances of the HttpBrowserCapabilities class that are publicly accessed through the ASP.NET-intrinsic Request.Browser property.
BrowserCapabilitiesFactoryBaseInfrastructure. The BrowserCapabilitiesFactoryBase class is the base class from which BrowserCapabilitiesFactory is derived. It is used internally at run time by the configuration system to create request-specific instances of the HttpCapabilitiesBase class, publicly accessed through the ASP.NET intrinsic Request.Browser property.
BufferModesCollection A collection of BufferModeSettings objects. This class cannot be inherited.
BufferModeSettings Configures the ASP.NET event-buffering settings for event providers. This class cannot be inherited.
BuildProvider Provides functionality to parse a particular file type and generate code during compilation of a dynamic resource. This class cannot be inherited.
BuildProviderCollection Represents a collection of BuildProvider objects. This class cannot be inherited.
CacheSection Configures the global cache settings for an ASP.NET application. This class cannot be inherited.
ClientTarget Defines the alias associated with the target user agent for which ASP.NET server controls should render content. This class cannot be inherited.
ClientTargetCollection Represents a collection of ClientTarget objects. This class cannot be inherited.
ClientTargetSection Configures the clientTarget section. This class cannot be inherited.
CodeSubDirectoriesCollection Represents a collection of CodeSubDirectory objects. This class cannot be inherited.
CodeSubDirectory References a directory location that is used during compilation of a dynamic resource. This class cannot be inherited.
CompilationSection Defines configuration settings that are used to support the compilation infrastructure of Web applications. This class cannot be inherited.
Compiler Defines a compiler that is used to support the compilation infrastructure of Web applications. This class cannot be inherited.
CompilerCollection Represents a collection of Compiler objects. This class cannot be inherited.
Converter Represents a configuration element in a configuration file.
ConvertersCollection Represents a configuration collection that contains references to Converter objects.
CustomError Configures a CustomError section to map an ASP.NET error code to a custom page. This class cannot be inherited.
CustomErrorCollection Represents a collection of CustomError objects. This class cannot be inherited.
CustomErrorsSection Configures the ASP.NET custom errors. This class cannot be inherited.
DeploymentSection Defines configuration settings that are used to support the deployment of a Web application. This class cannot be inherited.
EventMappingSettings Defines the ASP.NET event mapping settings for event providers. This class cannot be inherited.
EventMappingSettingsCollection Provides a collection of EventMappingSettings objects. This class cannot be inherited.
ExpressionBuilder Retrieves a dynamic resource during compilation.
ExpressionBuilderCollection Represents a collection of ExpressionBuilder objects. This class cannot be inherited.
FormsAuthenticationConfiguration Configures an ASP.NET application to use the AuthenticationMode forms modality.
FormsAuthenticationCredentials Configures user credentials for ASP.NET applications that use form-based authentication.
FormsAuthenticationUser Configures the user's credentials for Web applications that use forms-based authentication.
FormsAuthenticationUserCollection Represents a collection of FormsAuthenticationUser objects. This class cannot be inherited.
GlobalizationSection Defines configuration settings that are used to support the globalization infrastructure of Web applications. This class cannot be inherited.
HealthMonitoringSection Configures ASP.NET profiles that determine how health-monitoring events are sent to event providers. This class cannot be inherited.
HostingEnvironmentSection Defines configuration settings that control the behavior of the application hosting environment. This class cannot be inherited.
HttpCapabilitiesBase Provides access to detailed information about the capabilities of the client's browser.
HttpCapabilitiesSectionHandler Assists in reading in the <browserCaps> section of a configuration file and creating an instance of the HttpBrowserCapabilities class that contains the capabilities information for the client browser.
HttpConfigurationContext Supplies current context information to configuration-section handlers in ASP.NET applications.
HttpCookiesSectionInfrastructure. Configures properties for cookies used by a Web application.
HttpHandlerAction Configures an HttpHandlersSection configuration section. This class cannot be inherited.
HttpHandlerActionCollection Represents a collection of HttpHandlerAction elements. This class cannot be inherited.
HttpHandlersSection Configures an HTTP handler for a Web application. This class cannot be inherited.
HttpModuleAction Configures the HttpModulesSection modules. This class cannot be inherited.
HttpModuleActionCollection Represents a collection of HttpModuleAction objects. This class cannot be inherited.
HttpModulesSection Configures an HTTP module for a Web application. This class cannot be inherited.
HttpRuntimeSection Configures the ASP.NET HTTP runtime. This class cannot be inherited.
IdentitySection Configures the identity of a Web application. This class cannot be inherited.
LowerCaseStringConverter Provides support to convert an object to a lowercase string. This class cannot be inherited.
MachineKeySection Defines the configuration settings that control the key generation and algorithms that are used in encryption, decryption, and media access control (MAC) operations in Windows Forms authentication, view-state validation, and session-state application isolation. This class cannot be inherited.
MachineKeyValidationConverter Provides methods for converting MachineKeyValidation objects to and from strings.
MembershipSection Defines configuration settings to support the infrastructure for configuring and managing membership details. This class cannot be inherited.
NamespaceCollection Contains a collection of namespace objects. This class cannot be inherited.
NamespaceInfo Contains a single configuration namespace reference, similar to the Import directive. This class cannot be inherited.
OutputCacheProfile Configures the output cache profile that can be used by the application pages. This class cannot be inherited.
OutputCacheProfileCollection Represents a collection of OutputCacheProfile objects. This class cannot be inherited.
OutputCacheSection Configures the output cache for a Web application. This class cannot be inherited.
OutputCacheSettingsSection Configures the output cache settings for application pages . This class cannot be inherited.
PagesSection Provides programmatic access to the pages Element (ASP.NET Settings Schema) section of the configuration file. This class cannot be inherited.
PassportAuthentication Configures Passport-based authentication in ASP.NET applications.
ProcessModelSection Configures the ASP.NET process model settings on an Internet Information Services (IIS) Web server. This class cannot be inherited.
ProfileGroupSettings Provides programmatic access to the group subsection of the profiles configuration file section.
ProfileGroupSettingsCollection Contains a set of ProfileGroupSettings objects.
ProfilePropertySettings The ProfilePropertySettings class provides a way to programmatically access and modify the profiles section of a configuration file. This class cannot be inherited.
ProfilePropertySettingsCollection Contains a set of ProfilePropertySettingsCollection objects.
ProfileSection The ProfileSection class provides a way to programmatically access and modify the profile section of a configuration file. This class cannot be inherited.
ProfileSettings Configures the ASP.NET event profiles. This class cannot be inherited.
ProfileSettingsCollection Contains a collection of ProfileSettings objects. This class cannot be inherited.
ProtocolCollectionInfrastructure. Represents a configuration element that contains a collection of protocols.
ProtocolElementInfrastructure.
ProtocolsConfigurationHandlerInfrastructure.
ProtocolsSectionInfrastructure.
ProvidersHelper Provides methods for creating provider instances, either singly or in a batch.
RegexWorkerInfrastructure. Used internally at run time by BrowserCapabilitiesFactory and BrowserCapabilitiesCodeGenerator to parse request data and identify the browser.
RemoteWebConfigurationHostServerInfrastructure. Used internally at run time to support accessing configuration data remotely.
RoleManagerSection Defines configuration settings that are used to support the role management infrastructure of Web applications. This class cannot be inherited.
RootProfilePropertySettingsCollection Acts as the top of a two-level named hierarchy of ProfilePropertySettingsCollection collections.
RuleSettings Configures the ASP.NET event rules. This class cannot be inherited.
RuleSettingsCollection A collection of RuleSettings objects. This class cannot be inherited.
ScriptingAuthenticationServiceSection Represents the configuration section for authentication service settings. This class cannot be inherited.
ScriptingJsonSerializationSection Represents a jsonSerialization configuration section in the scripting element of the configuration file. This class cannot be inherited.
ScriptingProfileServiceSection Represents the configuration section for profile-service settings. This class cannot be inherited.
ScriptingRoleServiceSection Represents the configuration section for role-service settings.
ScriptingScriptResourceHandlerSection Represents a ScriptingScriptResourceHandler configuration section in the <scripting> element of the configuration file. This class cannot be inherited.
ScriptingSectionGroup Represents the configuration section for scripting settings. This class cannot be inherited.
ScriptingWebServicesSectionGroup Represents a group of related sections in a configuration file.
SecurityPolicySection Defines configuration settings that are used to support the security infrastructure of a Web application. This class cannot be inherited.
SessionPageStateSection Configures the sessionPageState section. This class cannot be inherited.
SessionStateSection Configures the session state for a Web application.
SiteMapSection Defines configuration settings that are used to support the infrastructure for configuring, storing, and rendering site navigation. This class cannot be inherited.
SqlCacheDependencyDatabase Configures the SQL cache dependencies databases for an ASP.NET application. This class cannot be inherited.
SqlCacheDependencyDatabaseCollection Represents a collection of SqlCacheDependencyDatabase objects. This class cannot be inherited.
SqlCacheDependencySection Configures the SQL cache dependencies for an ASP.NET application. This class cannot be inherited.
SystemWebCachingSectionGroup Configures the caching group within a configuration file. This class cannot be inherited.
SystemWebExtensionsSectionGroup Represents a group of related sections in a configuration file. This class cannot be inherited.
SystemWebSectionGroup Allows the user to programmatically access the system.web group of the configuration file. This class cannot be inherited.
TagMapCollection Contains a collection of TagMapInfo objects.
TagMapInfo Contains a single configuration tag remapping statement. This class cannot be inherited.
TagPrefixCollection Contains a collection of TagPrefixInfo objects.
TagPrefixInfo Defines a configuration element containing tag-related information.
TraceSection Configures the ASP.NET trace service. This class cannot be inherited.
TransformerInfo Specifies a custom class that extends the WebPartTransformer class for use by Web Part connections.
TransformerInfoCollection Contains a collection of TransformerInfo objects. This class cannot be inherited.
TrustLevel Defines the mapping of specific security levels to named policy files. This class cannot be inherited.
TrustLevelCollection Contains a collection of TrustLevel objects. This class cannot be inherited.
TrustSection Configures the code-access security level that is applied to an application. This class cannot be inherited.
UrlMapping Maps a URL that is displayed to users to the URL of a page in your Web application. This class cannot be inherited.
UrlMappingCollection Represents a collection of UrlMapping objects. This class cannot be inherited.
UrlMappingsSection Provides programmatic access to the urlMappings configuration section. This class cannot be inherited.
VirtualDirectoryMapping Specifies a custom virtual-directory hierarchy for a Web application. This class cannot be inherited.
VirtualDirectoryMappingCollection Contains a collection of VirtualDirectoryMapping objects. This class cannot be inherited.
WebConfigurationFileMap Defines the configuration file mappings for a Web application. This class cannot be inherited.
WebConfigurationManager Provides access to configuration files as they apply to Web applications.
WebContext Manages the path context for the current Web application. This class cannot be inherited.
WebControlsSection Configures the webControls section. This class cannot be inherited.
WebPartsPersonalization Allows you to specify the personalization provider and set personalization authorizations. This class cannot be inherited.
WebPartsPersonalizationAuthorization Provides programmatic access to the authorization section contained in the webParts section of the configuration. This class cannot be inherited.
WebPartsSection Provides programmatic access to the webParts configuration file section. This class cannot be inherited.
XhtmlConformanceSection Configures the xhtmlConformance se