将大数据发送到wcf [英] sending the large data to wcf
本文介绍了将大数据发送到wcf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我收到400错误的错误请求时,如何向wcf发送大数据,但是如果我发送的是小文件,则允许我发送该文件.
How to send large data to wcf as i am getting the error as 400 bad request, but if i send a small file it is allowing me to send it.
推荐答案
作为绑定配置的一部分,您可能需要包括readerQuota
定义了对SOAP消息的复杂性的限制 [大型数据和流式传输
[ ^ ]
另请参阅
如何:启用流式传输 [
You may need to include readerQuota as part of your binding configuration
Defines the constraints on the complexity of SOAP messages [^]
Suggest you to go through following link as well:
Large Data and Streaming
[^]
Also refer to
How to: Enable Streaming[^]
这篇关于将大数据发送到wcf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文