WCF的绑定方式比较多,常用的大体有四种:
wsHttpBinding
basicHttpBinding
netTcpBinding
wsDualHttpBinding
这四种绑定方式中,有两种支持双工通信:wsDualHttpBinding、 netTcpBinding 。一般而言内网部署采用 netTcpBinding 方式,外网则采用能免受防火墙阻碍的 wsHttpBinding 绑定,由于内网中的服务相对是一个安全的环境,所以WCF 的配置多数采用的是 windows 验证方式。
<message clientCredentialType="Windows"/>
原文:http://www.cnblogs.com/renzimu/p/3910975.html