<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.
<configuration>
<system.serviceModel>
<standardEndpoints>
<webScriptEndpoint>
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.