Share via


system.web.extensions Element (ASP.NET Settings Schema)

Specifies the root element for the ASP.NET extensions configuration section, and contains elements that configure ASP.NET services and control their behavior.

configuration Element (General Settings Schema)
  system.web.extensions Element (ASP.NET Settings Schema)

<system.web.extensions>
  <scripting>... </scripting>
</system.web.extensions>

Attributes and Elements

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

Attributes

None.

Child Elements

Element

Description

scripting

Specifies configuration settings for ASP.NET AJAX-enabled Web pages and for enabling or disabling application services.

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.

Remarks

The system.web.extensions element enables you to configure ASP.NET applications that can be used by AJAX-enabled clients, Windows Communication Foundation (WCF) clients (SOAP clients), and .NET Framework clients. The configuration settings include the following:

  • Enabling ASP.NET application services through the authenticationService, roleService, and profileService elements.

  • Configuring the script handler through the enableCompression and enableCaching attributes of the scriptResourceHandler element.

  • Configuring JSON serialization through the jsonSerialization element.

Element Information

Configuration section handler

System.Web.Configuration.SystemWebExtensionsSectionGroup

Configurable locations

Machine.config

Application-level Web.config

Requirements

Microsoft Internet Information Services (IIS) 5.0, 5.1, 6.0, or 7.0

The .NET Framework version 3.0

See Also

Tasks

How to: Configure ASP.NET Services in Microsoft Ajax

Reference

System.Web.Configuration

Concepts

ASP.NET Configuration Overview

ASP.NET Configuration File Hierarchy and Inheritance

Other Resources

ASP.NET Configuration Settings

ASP.NET Configuration API