Improving DataSet Serialization and Remoting Performance

There's a new KB article on the subject.

I still did not compare the performance with my previous solution, but this solution is much more general than mine so I expect the performance to be worse but it can be applied to more scenarios.

 

 

3 Comments

  • Your original solution can't be implemented in VB.NET, you can't re-implement ISerializable on a DataTable derived class.

  • Yes, I know.



    Anyway I can do the surrogate thing 'my way', assuming that the class is the same in both sides of the serialization, and avoid serializing all the DataSet structure info.

  • Interesting, I'm working with Angelo Scotto right now with his CompactFormatter along with the DataSetSurrogate class you described to try and port DataSet binary serialization to the Compact Framework. Also hooked his CompactFormatter into the Bamboo Prevalence framework. I say, Ignore what the "Detractors" say about object-relational persistence frameworks. Usually, they have some sort of axe to grind...

Comments have been disabled for this content.