共用方式為


<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