What is the best way to send large data from WCF service to Client?

狂风中的少年 提交于 2019-12-05 04:34:42

问题


I have a particular service which returns large amount of data. What' is the best practice and options available in WCF to handle this?

These large data is returned after doing all the filtering, so no more filtering is possible. The data could go into GB's. I do understand there is a limit to how much data a system can handle.

But give the above scenario what options/alternatives would you recommend.


回答1:


Use streaming MSDN




回答2:


MTOM is a mechanism for transmitting large binary attachments with SOAP messages as raw bytes, allowing for smaller messages.

see: http://msdn.microsoft.com/en-us/library/aa395209.aspx for details.



来源:https://stackoverflow.com/questions/1020956/what-is-the-best-way-to-send-large-data-from-wcf-service-to-client

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!