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
Post a Comment