Share via


<webScriptEndpoint>

This configuration element defines a standard endpoint with a fixed <webHttpBinding> binding that automatically adds the <enableWebScript> behavior. Use this endpoint when you are writing a service that is called from an ASP.NET AJAX application.

Schema Hierarchy

<system.serviceModel>
  <standardEndpoints>

Syntax

<system.serviceModel>
    <standardEndpoints>       <webScriptEndpoint>           <standardEndpoint             webEndpointType=”String”/>             </webScriptEndpoint>     </standardEndpoints>
</system.serviceModel>

Attributes and Elements

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

Attributes

Attribute Description

webEndpointType

A string that specifies the type of the endpoint.

Child Elements

None.

Parent Elements

Element Description

<standardEndpoints>

A collection of standard endpoints that are pre-defined endpoints with one or more of their properties (address, binding, contract) fixed.

See Also

Reference

WebScriptEndpoint
WebScriptEndpointElement