views:

877

answers:

2

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.

A: 

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.

Shiraz Bhaiji
+3  A: 

Use streaming MSDN

ArsenMkrt
+1 streaming is the way to go for huge payloads
marc_s