wcf - How to increase maxReceivedMessageSize -


i have wcf service , sending large streams service client.

this code in client web config

<bindings>       <basichttpbinding>          <binding name="blabla" allowcookies="true"                  maxreceivedmessagesize="2147483647"                  maxbuffersize="2147483647"                  maxbufferpoolsize="2147483647">           <readerquotas maxdepth="32"                maxarraylength="2147483647"                maxstringcontentlength="2147483647"/>         </binding>       </basichttpbinding>     </bindings> 

when wanted set maxreceivedmessagesize more 2 gb, error. says "int32 value can not initialize value". possible set 40 gb or bigger value?

maxreceivedmessagesize can set more int.maxvalue, if transfer mode of binding set streamed. should not set maxbuffersize 2gb, otherwise may huge memory usage in client.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -