system.web Element (ASP.NET Settings Schema)
Specifies the root element for the ASP.NET configuration section and contains configuration elements that configure ASP.NET Web applications and control how the applications behave.
configuration Element (General Settings Schema)
system.web Element (ASP.NET Settings Schema)
<system.web>
<anonymousIdentification>
<authentication>
<authorization>
<browserCaps>
<caching>
<clientTarget>
<compilation>
<customErrors>
<deployment>
<deviceFilters>
<globalization>
<healthMonitoring>
<hostingEnvironment>
<httpCookies>
<httpHandlers>
<httpModules>
<httpRuntime>
<identity>
<machineKey>
<membership>
<mobileControls>
<pages>
<processModel>
<profile>
<roleManager>
<securityPolicy>
<sessionPageState>
<sessionState>
<siteMap>
<trace>
<trust>
<urlMappings>
<webControls>
<webParts>
<webServices>
<xhtmlConformance>
</system.web>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
---|---|
Configures anonymous identification for application authorization. This is required to identify entities that are not authenticated when authorization is required. |
|
Configures ASP.NET authentication support. |
|
Configures ASP.NET authorization support. |
|
Configures the settings for the browser capabilities component. |
|
Configures the cache settings for a Web application. |
|
Adds aliases for specific user agents to an internal collection of user agent aliases. |
|
Contains all compilation settings that are used by ASP.NET. |
|
Defines custom error messages for an ASP.NET application. |
|
Defines configuration settings that are used to support the deployment of a Web application. |
|
Specifies a device or a device class in the ASP.NET MobileCapabilities class based on the user agent or browser. A page or application developer can use a device filter to override control properties or to define blocks of content or templates to change layout and appearance. |
|
Configures the globalization settings of an application. |
|
Configures an application for health monitoring. |
|
Defines configuration settings that control the behavior of the application hosting environment. |
|
Configures properties for cookies that are used by a Web application. |
|
Maps incoming URL requests to IHttpHandler classes. |
|
Adds, removes, or clears HTTP modules within an application. |
|
Configures ASP.NET HTTP run-time settings. This section can be declared at the machine, site, application, or subdirectory level. |
|
Controls the application identity of the Web application. |
|
Configures keys to use for encryption and decryption of Forms authentication cookie data. This section allows you to configure a validation key that performs message authentication checks on view-state data and Forms authentication tickets. This section can be declared at the machine, site, or application levels but not at the subdirectory level. |
|
Configures parameters for managing and authenticating user accounts for ASP.NET membership. |
|
Defines adapter sets that map ASP.NET mobile controls to corresponding adapters within the system.web section of the Web.config file. |
|
Identifies page-specific configuration settings. |
|
Configures the ASP.NET process model settings on Internet Information Services (IIS) Web server systems. |
|
Configures parameters for managing user values by using the ASP.NET profile. |
|
Configures an application for role management. This element is new in the .NET Framework version 2.0. |
|
Defines valid mappings of named security levels to policy files. This section can be declared at the machine, site, or application levels. |
|
Configures page view-state settings for an ASP.NET application. |
|
Configures the session-state module. |
|
Configures the navigation infrastructure support for configuring, storing, and rendering site navigation. |
|
Configures the ASP.NET trace service. |
|
Configures the code access security permission set that is used to run a particular application. This section can be declared at the machine, site, and application levels. |
|
Defines a mapping that hides the real URL and maps it to a more user friendly URL. |
|
Specifies the shared location of the client script files. |
|
Specifies a Web Parts personalization provider, sets personalization authorizations, and adds custom classes that extend the WebPartTransformer class for use by Web Parts connections. |
|
Controls the settings of XML Web services that are created using ASP.NET. |
|
Configures XHTML 1.0–conforming control rendering. |
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by the common language runtime and the .NET Framework applications. |
See Also
Concepts
ASP.NET Configuration Overview