分享方式:


設定端點

AppFabric 包含適用於「IIS 管理員」的延伸模組與 Windows PowerShell Cmdlet,可讓您設定組態檔中定義的應用程式端點。不論您是使用「IIS 管理員」UI 或 Cmdlet,基本上都是擷取或變更與 IIS 階層中指定或所選範圍 (伺服器、網站、應用程式或服務) 關聯之組態檔中的端點組態參數值。下列範例顯示與端點組態參數關聯的組態元素與屬性。

  <system.serviceModel>
    <services>
      <service name="MyWCFService.Service" behaviorConfiguration="">
          <endpoint name="MyWCFEndpoint" address="https://localhost/MyWCFService/" binding="basicHttpBinding" contract ="MyWCFService.IService" />
      </service>
    </services>
<system.serviceModel>

本節內容

  2012-03-05