WCF Service Reference generates an empty reference.cs due to DuplexBinding

后端 未结 2 926
旧巷少年郎
旧巷少年郎 2021-01-29 03:24

I have WCF service. Here is configuration

  
    
      

        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-29 03:59

    The polling duplex HTTP binding is only supported by Silverlight clients. Since you're using svcutil to generate the reference, I assume you're building a "normal" (i.e., non-SL) client for the server, so that won't work.

    If you want to use a duplex binding on a non-Silverlight application, you can take a look at either the wsDualHttpBinding or netTcpBinding.

提交回复
热议问题