Click here to Skip to main content
15,063,239 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is their any way to change the maximum message size in WCF ??
[no name] 2-Jun-15 7:52am

1 solution

change your binding configuration in webconfig where you have your WCF endpoints and binding configuration
like below


< binding name="yourbindingname" closeTimeout="00:10:00"
openTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647" />


< endpoint address="http://localhost/yourservice"
binding="basicHttpBinding" bindingConfiguration="yourbindingname"
contract="yourbindingname.IService" name="yourbindingname" />

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900