WCF - How to Increase Message Size Quota

后端 未结 13 1813
失恋的感觉
失恋的感觉 2020-11-22 06:16

I have a WCF Service which returns 1000 records from database to the client. I have an ASP.NET WCF client (I have added service reference in asp.net web application project

13条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 06:51

    I solved my issue on Bing Maps WPF on my project Using CalculateRoute (). The solution in my case was setting the maxReceivedMessageSize and maxReceivedMessageSize on attribute "httpTransport" for "customBinding" section .

    I set in the applications.config file (es. myApp.config) this configuration:

    
        
            
                
                
            
            
                
                    
                  
                
                
                    
                  
                
            
        
        
            
            
            
            
        
    
    

提交回复
热议问题