DataSet binary serialization or DataSetSurrogate

Hi!

I'm serializing and remoting a DataSet to put it in a webservice in IIS, but use XML formater and is too slowly (becase are big DataSets). I want use binary formating to serializing these DataSets.

I read about DataSetSurrogate, but i don't find it in the Object Inspector of Visual Studio :( Where it is

I put the DataSet in a webservice in IIS because there is a lot of pocket pcs that must read this DataSet ... can i use DataSetSurrogate in pocket pc This DataSets are dowloaded via GPRS and if it is BIG DataSet ... then takes a long time, besides the pocketpc also takes a long time to parse this large XML file.

If i can't use DataSetSurrogate .... what thing can i use to improve the DataSet performance How serializing a remoting a DataSet in binary mode

Thanks in advance.

Regards.



Answer this question

DataSet binary serialization or DataSetSurrogate

  • redhanz

    but... can i use a deflate tcp channel for remoting

    Regards.



  • Artyom

    Have you try to use compression classed like Deflate Stream. It can help you out

  • DataSet binary serialization or DataSetSurrogate