wcf restful返回参数,已超过传入消息(65536)的最大消息大小配额

Vic.Tang
博客专家认证
2016-11-04 11:02:01
修改了webconfig还是无效,配置如下
<bindings>
<webHttpBinding>
<binding name="basicbinding" sendTimeout="00:10:00" maxBufferSize="2147483647"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxStringContentLength="2147483647" />
</binding>
</webHttpBinding>
</bindings>

<standardEndpoints>
<webHttpEndpoint>
<standardEndpoint name="basicendpoint" maxBufferSize="2147483647"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
helpEnabled="true" automaticFormatSelectionEnabled="true" />
</webHttpEndpoint>
</standardEndpoints>
...全文
764 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Vic.Tang 2016-11-04
  • 打赏
  • 举报
回复

编辑client端的maxReceivedMessageSize解决

12,162

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧