<system.web> Element (Web Settings)

.NET Framework 4.6 and 4.5

Contains information about how the ASP.NET hosting layer manages process-wide behavior.

<configuration> Element
  <system.web> Element (Web Settings)
<system.web>
</system.web>

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

<applicationPool>

Specifies configuration settings for IIS application pools in an aspnet.config file.

Parent Elements

Element

Description

<configuration>

Specifies the root element in every configuration file that is used by the common language runtime and .NET Framework applications. 

The system.web element and its child applicationPool element were added to the .NET Framework as of .NET Framework 3.5 SP1. When you run IIS 7.0 or later versions in Integrated mode, this element combination lets you configure how ASP.NET manages threads and how it queues requests when ASP.NET is hosted in an IIS application pool. If you run IIS 7.0 or later versions in Classic or ISAPI mode, these settings are ignored.

The following example shows how to configure ASP.NET process-wide behavior in the aspnet.config file when ASP.NET is hosted in an IIS application pool. The example assumes that IIS is running in Integrated mode and that the application is using the .NET Framework 3.5 SP1 or a later version. This behavior does not occur in versions of the .NET Framework earlier than the .NET Framework 3.5 SP1. The values in the example are the default values.

<configuration>
  <system.web>
    <applicationPool 
        maxConcurrentRequestsPerCPU="5000" 
        maxConcurrentThreadsPerCPU="0" 
        requestQueueLimit="5000" />
  </system.web>
</configuration>

Namespace

Schema Name

Validation File

Can be Empty

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft