Saving and Loading DataSets as XML DiffGrams

The XML DiffGram is a format that makes it easy for two parties to refresh a shared data structure without having to transmit the entire data structure over the network. The desktop .NET Framework DataSet supports DiffGrams extensively. Thus, the desktop .NET Framework can use DiffGrams to support the following scenario:

  • Machine A creates a very large DataSet of 2000 records, one that requires nearly 1MB to transmit over the network as XML.

  • XML Data is flexible and human-readable. However, the cost is that XML data is not dense. Thus, even a modest amount of information can require a lot of text to be sent across the network. This is one of the reasons that the desktop .NET Framework DataSet extensively ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.