(413) Request Entity Too Large

后端 未结 3 1067
不知归路
不知归路 2020-12-19 07:07

I have WCF service, and I have a method when I want to pass parameter as big string (over 1mb)

I run this wcf and in WCF Test Client I changed configuration as is sh

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-19 07:25

    This works for me, In the web.config app side:

    
       
          
            
              
            
    
    

    and on the web.config services side you need to add this code in the next tags:

    
        
          
            
              
            
          
         
        
          
            
          
             
    
    

    The most important is the relationship through the binding name and bindingConfiguration in both applications.

提交回复
热议问题