我参考了这个链接:http://www.codeproject.com/Articles/53718/Extending-WCF-Part-II
我创建了代理来调用 wcf 方法,但是在实现此逻辑后,我也收到以下错误:
Content Type application/x-gzip was not supported by service http://localhost/DeskWCF/Demo.svc. The client and service bindings may be mismatched.
如果您有任何方法可以压缩wcf的肥皂消息,请帮助我..
提前谢谢。
看看这些问题,你应该能够让它工作
如何在 WCF 4.5 中使 gzip 压缩工作如何在 WCF 4.5 中使 gzip 压缩工作