Object Serialization

Serialization is the process of converting an object instance’s state into a sequence of bits that can then be written to a stream or some other storage medium. Deserialization is the process of converting a serialized bit stream to an instance of an object type. As we mentioned in Chapter 2, “Understanding the .NET Remoting Architecture,” the .NET Remoting infrastructure uses serialization to transfer instances of marshal-by-value object types across .NET Remoting boundaries. In the next few sections, we’ll discuss how serialization works in the .NET Framework so that you’ll have a better understanding of it when we develop a custom serialization formatter later in the chapter.

Note

For more information about object serialization, ...

Get Microsoft® .NET Remoting 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.