System.Web.Configuration Namespace

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

Remarks

Classes

TypeReason
AdapterDictionary

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.

AuthenticationMode

Specifies the authentication mode to use in a Web application.

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.

AuthorizationRuleAction

Specifies the type of authorization to apply when accessing a resource.

AuthorizationRuleCollection

Represents a collection of AuthorizationRule objects. This class cannot be inherited.

AuthorizationSection

Configures a Web application authorization. This class cannot be inherited.

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.

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.

CustomErrorsMode

Specifies the values for the custom errors modality.

CustomErrorsSection

Configures the ASP.NET custom errors. This class cannot be inherited.

DeploymentSection

Defines a configuration setting that is typically used on a production server to override application-level settings that are appropriate only on development computers.

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.

FormsAuthPasswordFormat

Defines the encryption format for storing passwords.

FormsProtectionEnum

Defines the type of encryption, if any, to use for cookies.

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.

HttpConfigurationContext

Supplies current context information to configuration-section handlers in ASP.NET applications.

HttpCookiesSection

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.

IConfigMapPath

Provides access to the mapping between configuration-file virtual and physical paths.

IConfigMapPathFactory

Maps the configuration file virtual and physical paths.

IdentitySection

Configures the identity of a Web application. This class cannot be inherited.

IRemoteWebConfigurationHostServer

Used internally to support remote access to configuration data.

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 message authentication code (MAC) operations in Windows Forms authentication, view-state validation, and session-state application isolation. This class cannot be inherited.

MachineKeyValidation

Specifies the hashing algorithm that ASP.NET uses for forms authentication and for validating view state data, and for out-of-process session state identification.

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.

PagesEnableSessionState

Used to determine session-state activation for a single Web page or an entire Web application.

PagesSection

Provides programmatic access to the pages section of the configuration file. This class cannot be inherited.

PassportAuthentication

Configures Passport-based authentication in ASP.NET applications.

ProcessModelComAuthenticationLevel

Specifies the level of authentication for DCOM security.

ProcessModelComImpersonationLevel

Specifies the authentication level for COM security.

ProcessModelLogLevel

Specifies the event types to be logged to the event log.

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.

ProvidersHelper

Provides methods for creating provider instances, either singly or in a batch.

RegexWorker

Used internally at run time by BrowserCapabilitiesFactory and BrowserCapabilitiesCodeGenerator to parse request data and identify the browser.

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.

SecurityPolicySection

Defines configuration settings that are used to support the security infrastructure of a Web application. This class cannot be inherited.

SerializationMode

Determines the serialization method used for a ProfilePropertySettings object.

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.

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.

TraceDisplayMode

Specifies the order in which trace messages are displayed.

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.

WebApplicationLevel

Specifies the path level of a Web-application configuration file.

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.

XhtmlConformanceMode

Specifies the authentication mode to use in a Web application.

XhtmlConformanceSection

Configures the xhtmlConformance section. This class cannot be inherited.