asp.net.ph

Skip Navigation Links

<system.web> Section

ASP.NET Syntax   ASP.NET Configuration Sections


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.

<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
anonymousIdentification Element Configures anonymous identification for application authorization. This is required to identify entities that are not authenticated when authorization is required.
authentication Element Configures ASP.NET authentication support.
authorization Element Configures ASP.NET authorization support.
browserCaps Element Configures the settings for the browser capabilities component.
caching Element Configures the cache settings for a Web application.
clientTarget Element Adds aliases for specific user agents to an internal collection of user agent aliases.
compilation Element Contains all compilation settings that are used by ASP.NET.
customErrors Element Defines custom error messages for an ASP.NET application.
deployment Element Defines configuration settings that are used to support the deployment of a Web application.
deviceFilters Element 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.
globalization Element Configures the globalization settings of an application.
healthMonitoring Element Configures an application for health monitoring.
hostingEnvironment Element Defines configuration settings that control the behavior of the application hosting environment.
httpCookies Element Configures properties for cookies that are used by a Web application.
httpHandlers Element Maps incoming URL requests to IHttpHandler classes.
httpModules Element Adds, removes, or clears HTTP modules within an application.
httpRuntime Element Configures ASP.NET HTTP run-time settings.

This section can be declared at the machine, site, application, or subdirectory level.

identity Element Controls the application identity of the Web application.
machineKey Element 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.

membership Element Configures parameters for managing and authenticating user accounts for ASP.NET membership.
mobileControls Element Defines adapter sets that map ASP.NET mobile controls to corresponding adapters within the system.web section of the Web.config file.
pages Element Identifies page-specific configuration settings.
processModel Element Configures the ASP.NET process model settings on Internet Information Services ( IIS ) Web server systems.
profile Element Configures parameters for managing user values by using the ASP.NET profile.
roleManager Element Configures an application for role management.

This element is new in the .NET Framework version 2.0.

securityPolicy Element Defines valid mappings of named security levels to policy files.

This section can be declared at the machine, site, or application levels.

sessionPageState Element Configures page view-state settings for an ASP.NET application.
sessionState Element Configures the session-state module.
siteMap Element Configures the navigation infrastructure support for configuring, storing, and rendering site navigation.
trace Element Configures the ASP.NET trace service.
trust Element 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.

urlMappings Element Defines a mapping that hides the real URL and maps it to a more user friendly URL.
webControls Element Specifies the shared location of the client script files.
webParts Specifies a Web Parts personalization provider, sets personalization authorizations, and adds custom classes that extend the WebPartTransformer class for use by Web Parts connections.
webServices Element Controls the settings of XML Web services that are created using ASP.NET.
xhtmlConformance Element 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

ASP.NET Configuration



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note