WCF service maxReceivedMessageSize basicHttpBinding issue

前端 未结 3 949
轮回少年
轮回少年 2020-12-13 06:32

I can\'t seem to get my WCF service to accept large amounts of data being sent up to it.

I configured the maxReceivedMessageSize for the client and could receive l

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 07:11

    Removing the name from your binding will make it apply to all endpoints, and should produce the desired results. As so:

    
      
        
        
      
    
    
      
        
          
        
      
      
        
      
    
    

    Also note that I removed the bindingConfiguration attribute from the endpoint node. Otherwise you would get an exception.

    This same solution was found here : Problem with large requests in WCF

提交回复
热议问题