wcf - Adding some customBinding properties to a netTcpBinding -
i have tcp config looks this.
<nettcpbinding> <binding name="bindingconfig" maxreceivedmessagesize="2147483647" sendtimeout="10675199.02:48:05.4775807" closetimeout="10675199.02:48:05.4775807" opentimeout="10675199.02:48:05.4775807" receivetimeout="10675199.02:48:05.4775807"> <security mode="message"> <transport clientcredentialtype="windows" /> <message clientcredentialtype="windows" /> </security> <readerquotas maxdepth="2147483647" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647" /> <reliablesession inactivitytimeout="10675199.02:48:05.4775807" /> </binding> </nettcpbinding>
i need add keys avail in cust. config.
<custombinding> <binding name="custbinding"> <security> <localservicesettings sessionkeyrenewalinterval="10675199.02:48:05.4775807" sessionkeyrolloverinterval="10675199.02:48:05.4775807" timestampvalidityduration="10675199.02:48:05.4775807"/> </security> </binding> </custombinding>
is there better way of achieving translating tcp config custom config(without writing code)?
no, since not exist property of made binding, need create custom 1 support needed properties.
Comments
Post a Comment