Thursday, 3 October 2013

request entity too large wcf

We can not send more than 64 kb data in WCF service.

to send more than default size.

just add below code in your wcf service web.config


 <bindings>  
    <basicHttpBinding>  
     <binding maxReceivedMessageSize="10485760">  
     </binding>  
    </basicHttpBinding>  
 </bindings>  

No comments:

Post a Comment