I did a test against a WCF server where the response from the server exceeds the MaxRecievedMessageSize
property defined in the client-side binding object, resulting in a CommunicationException
. I examined request and response using Fiddler. Despite exceeding the MaxRecievedMessageSize
, the entirety of the response is sent to the client.
I believe I am missing the point of this behavior. As I see it, no bandwidth is saved as the data has already been received. The client application could have processed the data but the client binding has discarded before it is given to the application.
If saving bandwidth is not the purpose of the MaxReceivedMessageSize on the client-side, what is it for?