从wcf Web服务发送大量数据 [英] Send large amount of data from wcf web service

查看:119
本文介绍了从wcf Web服务发送大量数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在尝试使用List<>

从wcf网络服务发送大量数据但是我收到此错误。

Plz帮助我。



已超出传入邮件的最大邮件大小限额(65536)。要增加配额,请在相应的绑定元素上使用MaxReceivedMessageSize属性。



这是我的MaxReceivedMessageSize代码:

Hi all,

I'm trying to send large amount of data from wcf web service using List<>
but i'm getting this error.
Plz help me.

The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

and here is my code for MaxReceivedMessageSize:

<binding name="MyTcpBinding" maxReceivedMessageSize="2147483647" receiveTimeout="00:30" sendTimeout="00:30">
         <readerQuotas maxStringContentLength="8192" maxArrayLength="20971520" />
       </binding>

推荐答案



试试这个链接:

http://stackoverflow.com/questions/8225736/transfer-large-amount-of-data- in-wcf-service [ ^ ]


这篇关于从wcf Web服务发送大量数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆