0
Reply

No exceptions thrown even when maxBufferSize value is smaller than the response message size in WCF

kshatriyudu

kshatriyudu

Dec 11 2009 10:51 PM
2.6k

Hi,
I have a wcf operation that sends byte array to client.
The maximum size of byte array I intend to send is 2mb. So I have set maxbuffersize and maxreceivedmessagesize to 2097152 (2 mb) on basichttpbinding with transfermode=buffered on the server.
Despite these settings, no buffer overflow exception is getting thrown if I transfer a 17mb file?
Thanks