<webHttp>

This element specifies the WebHttpBehavior on an endpoint through configuration. This behavior, when used in conjunction with the <webHttpBinding> standard binding, enables the Web programming model for a Windows Communication Foundation (WCF) service.

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <behavior> of <endpointBehaviors>
        <webHttp>

Syntax

<webHttp />

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.

See Also

Reference

<webHttpBinding>
WebHttpElement
WebHttpBehavior

Other Resources

ASP.NET AJAX Integration and JSON Support


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05