Vishal I Patil Vishal I Patil - 1 year ago 133
C# Question

maxReceivedMessageSize and maxBufferSize in app.config

How to increase maxReceivedMessageSize and maxBufferSize parameters in app.config file to 2000000 before running the application.

Answer Source

You need to do that on your binding, but you'll need to do it on both Client and Server. Something like:

            <binding maxBufferSize="64000000" maxReceivedMessageSize="64000000" />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download