当前位置:编程学习 > asp >>

解决wcf接收post数据400错误

记得在webconfig绑定上(binding)配置最大接收数据长度

[html] 
<webHttpBinding> 
              <binding name="webBinding" maxReceivedMessageSize="2147483647"  crossDomainScriptAccessEnabled="true" > 
                  <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/> 
              </binding> 
          </webHttpBinding> 

补充:Web开发 , ASP.Net ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,