How to convert this nettcpbinding to custombinding WCF -
i have wcf server , client , need convert nettcpbinding custombinding. can problem there many configurations set max current nettcpbinding not apply anymore custombinding.
client side:
<nettcpbinding> <binding name="nettcpbindingname" closetimeout="00:01:00" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00" transactionflow="false" transfermode="buffered" transactionprotocol="oletransactions" hostnamecomparisonmode="strongwildcard" listenbacklog="10" maxbufferpoolsize="2147483647" maxbuffersize="2147483647" maxconnections="10" maxreceivedmessagesize="2147483647"> <readerquotas maxdepth="2147483647" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="13107200" maxnametablecharcount="2147483647" /> <reliablesession ordered="true" inactivitytimeout="00:10:00" enabled="true" /> <security mode="transportwithmessagecredential"> <message clientcredentialtype="username" /> </security> </binding> </nettcpbinding> server side:
<nettcpbinding> <binding name="streamtcp" closetimeout="00:01:00" opentimeout="00:01:00" receivetimeout="23:59:59" sendtimeout="00:10:00" transfermode="buffered" maxbufferpoolsize="13107200" maxreceivedmessagesize="2147483647"> <readerquotas maxdepth="2147483647" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="13107200" maxnametablecharcount="2147483647" /> <reliablesession inactivitytimeout="00:05:00" enabled="true" /> <security mode="transportwithmessagecredential"> <message clientcredentialtype="username" /> </security> </binding> </nettcpbinding> the reason me change nettcpbinding custombinding because want set maxclockskew maximum. if there way nettcpbinding, please advice simpler converting nettcpbinding custombinding.
Comments
Post a Comment