The XML serializing is very slow and the result is huge.
You could implement your own format which could be 80 percent smaller(CSV
or something like this). If you also compress it using the new compression
classes it would be 96-98 percent smaller than the XML way. Then just send
it as an bytearray and decompress and deserialize on the other side. Very
fast compared to the XML way.
Kay
"HockeyFan" <Ho*******@discussions.microsoft.com> skrev i melding
news:22**********************************@microsof t.com...
I'm new to webservices. I've got .Net applications at both ends of this,
and am wondering what the most efficient way to pass dataset type of
information in a webservice. Do I XML-ize it somehow and pass it, or do I just put it
in a dataset and pass it? I'm told that .Net serializes it into xml behind
the scenes anyway, so I don't see the point in passing the data inside xml if
it's going to be put inside more xml afterwards.