<<webHttp>>

此元素通过配置指定终结点上的 WebHttpBehavior。此行为与 <webHttpBinding> 标准绑定结合使用时,将为 Windows Communication Foundation (WCF) 服务启用 Web 编程模型。

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

<webHttp />

属性和元素

属性

无。

子元素

无。

父元素

元素 说明

<endpointBehaviors> 的 <behavior>

指定终结点行为集。

另请参见

参考

<webHttpBinding>
WebHttpElement
WebHttpBehavior

其他资源

ASP.NET AJAX Integration and JSON Support