<system.serviceModel> <bindings> <wsDualHttpBinding> <binding name="ConfigService" closeTimeout="00:01:00" clientBaseAddress="http://Localhost:8723/ConfigUI" openTimeout="00:01:00" receiveTimeout="00:15:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> <reliableSession ordered="true" inactivityTimeout="00:10:00" /> <security mode="None"> <message clientCredentialType="None" negotiateServiceCredential="false" /> </security> </binding> </wsDualHttpBinding> </bindings> <client> <endpoint address="http://Ip-address:8725/ConfigService/Service" binding="wsDualHttpBinding" bindingConfiguration="ConfigService" contract="IConfigServiceLib" name="MyService"> </endpoint> </client> </system.serviceModel>
<system.serviceModel> <diagnostics> <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" /> </diagnostics> <behaviors> <serviceBehaviors> <behavior name="WsDualHttpBinding"> <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> </behaviors> <bindings > <wsDualHttpBinding> <binding name="higherMessageSize_WS" closeTimeout="10:01:00" clientBaseAddress="http://Localhost:8723/ConfigUI" openTimeout="10:01:00" receiveTimeout="10:10:00" sendTimeout="10:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="655360000" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"> <security mode="None"> <message clientCredentialType="None" negotiateServiceCredential="false" /> </security> </binding> </wsDualHttpBinding> </bindings> <services> <service behaviorConfiguration="WsDualHttpBinding" name="ServiceCon"> <clear /> <endpoint address="ConfiguratorService" binding="wsDualHttpBinding" bindingConfiguration="higherMessageSize_WS" name="MyService" contract="IContract" /> <endpoint binding="mexHttpBinding" bindingConfiguration="" name="mex" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="http://localhost:8725/ConfigService" /> </baseAddresses> </host> </service> </services> </system.serviceModel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)