在Windows 7下建立支持Silverlight的WCF服务文件时候,会生成以下配置
<bindings> <customBinding> <binding name="customBinding0"> <binaryMessageEncoding /> <httpTransport> <extendedProtectionPolicy policyEnforcement="Never" /> </httpTransport> </binding> </customBinding> </bindings>