This page is specific to:.NET Framework Version:3.54.0
<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.
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View