【发布时间】:2014-02-14 00:03:14
【问题描述】:
我有一个托管在 IIS 上的 WCF 服务,该服务在带有 SSL 的 https 上运行良好。它具有以下简单的绑定设置...
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding maxBufferSize="524288"
maxBufferPoolSize="1048576"
maxReceivedMessageSize="524288">
<readerQuotas maxStringContentLength="262144" maxArrayLength="65536" />
<security mode="Transport">
<transport clientCredentialType="None" />
</security>
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>
是否可以有另一个 basicHttpBinding 但没有安全模式,以便客户端可以使用 http 或 https 连接。我是否只是复制并粘贴绑定并删除副本上的安全模式?还是会因为有两个相同类型但没有名称的绑定而导致混淆?
【问题讨论】:
-
您找到解决问题的方法了吗?
标签: wcf ssl basichttpbinding