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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -