0

自分でホストする WCF サービス用に、Silverlight 二重通信 (PollingDuplexHttpBinding を使用するため) のカスタム バインディング拡張機能を登録するための提案が必要です。

以下は、この msdn ページから取得したバインディングの詳細です。

<!-- Register the binding extension from the SDK. -->
   <extensions>
      <bindingExtensions>
        <add name="pollingDuplexHttpBinding"
            type="System.ServiceModel.Configuration.PollingDuplexHttpBindingCollectionElement,System.ServiceModel.PollingDuplex, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </bindingExtensions>
   </extensions> 

上記の xml コードをコード ビハインドを介してカスタム バインドに追加する必要があります。

4

0 に答える 0