【发布时间】:2011-03-01 15:44:28
【问题描述】:
创建 WCF 配置文件时,我可能会在 Visual Studio 中收到此错误,因为 VS 编辑器不知道该扩展名。我需要知道将 transportClientEndpointBehavior 放在哪里,有什么帮助吗?谢谢。
<behaviors>
<endpointBehaviors>
<behavior name="sharedSecretClientCredentials">
<transportClientEndpointBehavior credentialType="SharedSecret">
<clientCredentials>
<sharedSecret issuerName="***********" issuerSecret="**********" />
</clientCredentials>
</transportClientEndpointBehavior>
<ServiceRegistrySettings discoveryMode="Public"/>
</behavior>
</endpointBehaviors>
...
</behaviors>
basicHttpRelayBinding 也有问题,我认为它应该包含在绑定中。
【问题讨论】:
标签: wcf web-config azure appfabric azure-appfabric