webServices Element for scripting (ASP.NET Settings Schema)

Configures Web services and controls their behavior.

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

<scripting> 
    <webServices>
        
    </webServices>
</scripting>

Attributes and Elements

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

Attributes

None.

Child Elements

Element

Description

jsonSerialization

Configures JSON serialization.

authenticationService

Configures the authentication application Web service.

roleService

Configures the role application Web service.

profileService

Configures the profile application Web service.

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.

scripting

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

Remarks

The webServices configuration element settings apply to the ASP.NET application services used by AJAX-enabled client applications, Windows Communication Foundation (WCF) client applications (SOAP clients), and .NET Framework client applications.

Element Information

Configuration Section Handler

System.Web.Configuration.ScriptingWebServicesSectionGroup

Configuration Members

System.Web.Configuration.ScriptingJsonSerializationSection

System.Web.Configuration.ScriptingAuthenticationServiceSection

System.Web.Configuration.ScriptingRoleServiceSection

System.Web.Configuration.ScriptingProfileServiceSection

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

Reference

System.Web.Configuration

Other Resources

ASP.NET Configuration Settings

ASP.NET Configuration API