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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -