Chapter 11. XML Serialization

Serialization is the run-time process that converts an object, or a graph of objects, to a linear sequence of bytes. You can then use the resultant block of memory either for storage or for transmission over the network on top of a particular protocol. In the Microsoft .NET Framework, object serialization can have three different output forms: binary, Simple Object Access Protocol (SOAP), and XML. We touched on binary serialization in Chapter 9 while examining how to work around XML DiffGram code in serialized DataSet and DataTable objects. In this chapter, we’ll look briefly at SOAP serialization and then move on to the core topic—XML serialization.

Run-time object serialization (for example, binary and SOAP) and ...

Get Applied XML Programming for Microsoft® .NET 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.