DataPortal Communication via WCF

DataPortal Communication via WCF

Old forum URL: forums.lhotka.net/forums/t/7469.aspx


Jack posted on Monday, August 17, 2009

I was wondering how exactly the communication with the DataPortal worked with respect to using the compression library and streaming data.  The current library zips the serialized data and then proceeds to send it out.

I was looking at the XCeed library controls and they have a streaming real-time ZIP function that streams as it zips.  If I implement that in lieu of the SharpZip library should my WCF communication start streaming to the client as its zipped in lieu of waiting for it to be completed or am I missing something?

Thanks

jack

RockfordLhotka replied on Monday, August 24, 2009

I don't think it will work that way, no. There are actually four byte arrays that can be compressed in the Silverlight data portal, and we let you plug into the process long before WCF is actually sending any data.

Copyright (c) Marimer LLC