我想禁用wsHttpBinding来检查Web和应用程序配置中的客户端和服务器时间检查。这是我的代码:
<wsHttpBinding>
<binding name="wsHttpBindingConfiguration" closeTimeout="00:10:00"
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="2147483646"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message" >
<message clientCredentialType="UserName" negotiateServiceCredential="true" establishSecurityContext="false"
algorithmSuite="Default" />
</security>
</binding>