我想增加绑定的MaxClockSkew,但我不知道如何将绑定转换为自定义绑定以添加MaxClockSkew元素。
如果有人能帮我转换,我真的很感激。
<wsHttpBinding>
<binding name="MyBinding" maxReceivedMessageSize="102400">
<readerQuotas maxArrayLength="51200" maxStringContentLength="102400" maxNameTableCharCount="2147483647" />
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="None" />
<message clientCredentialType="UserName" />
</security>
</binding>
</wsHttpBinding>
由于
答案 0 :(得分:0)
试试这个:
<customBinding>
<binding name="NewBinding0">
<security authenticationMode="UserNameOverTransport" messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10" />
<textMessageEncoding />
<httpsTransport maxBufferSize="102400" maxReceivedMessageSize="102400" />
</binding>
</customBinding>