I have a web service that currently returns a dataset. Depending on the data
being returned its size will be in megabytes (XML Document could be possibly
100 or more megabytes).
To speed up the data transfer I'm looking at two options:
1. One is compress the XML generated by the Dataset and transfer it to the
client as an array of bytes. (I was able to compress down to 2 MB)
2. The second option is to use binary serialization. I've been looking at
the datasetsurrogate example. I'm currently have some issues getting the
client side to consume the datasetsurrogate time. I'm also not sure how much
the binary serialization will shrink the data.
Does anyone have any recommendations?
hB - 10 Aug 2005 22:18 GMT
returning the DataSet itself from webservice is not a good practise.
If its there, already, i think you go with the standard compression
(and decompression at consumer) of XML String data (list of objects).
---
hB