My call to my WCF web service is failing with System.Net.WebException: The request failed with HTTP status 413: Request Entity Too Large.
Checking Fiddl
The answer was staring me in the face.
The config generated by svcutil was for the client. I was using it on the server.
I was editing the bindings for the endpoints specified under , which made absolutely no difference to the service.
Adding a proper endpoint and setting the maxReceivedMessageSize and maxBufferSize on its binding resolved the issue.