Hello everyone,
I am wondering if there are configurable settings for restriction of the maximum request/respose data package size for WCF? I am using VSTS 2008 + WCF 3.5. I am self-host WCF service as a Windows Service.
thanks in advance, George
Hello everyone,
I am wondering if there are configurable settings for restriction of the maximum request/respose data package size for WCF? I am using VSTS 2008 + WCF 3.5. I am self-host WCF service as a Windows Service.
thanks in advance, George
Hey,
Yes, the binding has properties for getting/setting max receive data bytes: check "maxReceivedMessageSize" property (representing the size in bytes).
However, setting this to a big value could not be a good idea since if an error occures in the transport you have to resend the whole (big) message.
Edit: Here you can find details about all binding configuration properties.