<enableWebScript>

<enableWebScript>

 

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

<system.ServiceModel>
<behaviors>
<endpointBehaviors>
<behavior>
<enableWebScript>


<enableWebScript />

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

<behavior> of <endpointBehaviors>

Specifies the set of endpoint behaviors.

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.

Show:
© 2016 Microsoft