<enableWebScript>

This element enables the endpoint behavior that makes it possible to consume the service from ASP.NET AJAX web pages.

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <behavior> of <endpointBehaviors>
        <enableWebScript>
Syntax

<enableWebScript />
Attributes and Elements

Attributes

None.

Child Elements

None.

Parent Elements

Element Description

<behavior> of <endpointBehaviors>

Specifies the set of endpoint behaviors.

Remarks

This behavior should only be used in conjunction with either the <webHttpBinding> standard binding, or the <webMessageEncoding> binding element. For more information on this behavior, see WebScriptEnablingBehavior.

See Also

Reference

<webHttp>
WebScriptEnablingElement
WebScriptEnablingBehavior

Other Resources

ASP.NET AJAX Integration and JSON Support

>
© 2007 Microsoft Corporation. All rights reserved.
Page view tracker