scripting Element (ASP.NET Settings Schema)
Specifies configuration settings for ASP.NET AJAX-enabled Web pages and for enabling or disabling application services.
configuration Element (General Settings Schema)
system.web.extensions Element (ASP.NET Settings Schema)
scripting Element (ASP.NET Settings Schema)
<scripting>
<webServices>... </webServices>
<scriptResourceHandler
enableCompression="true|false"
enableCaching="true|false" />
</scripting>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
---|---|
webServices |
Configures Web services and controls their behavior. |
scriptResourceHandler |
Configures the script resources handler that is used for AJAX-enabled Web applications. |
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. |
system.web.extensions |
Specifies the root element for the ASP.NET extensions configuration section, and contains elements that configure ASP.NET services and control their behavior. |
Remarks
The scripting element provides sections for enabling and disabling application services, and for configuring ASP.NET AJAX (scripting) behavior. For example, you can specify custom converters to use during JSON serialization and configure the script resources handler.
Element Information
Configuration Section Handler |
|
Configuration Members |
System.Web.Configuration.ScriptingScriptResourceHandlerSection |
Configurable Locations |
Machine.config Application-level Web.config |
Validation File |
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 ASP.NET AJAX
Concepts
ASP.NET Configuration Overview
ASP.NET Configuration File Hierarchy and Inheritance