Serialization Concepts
Why would you want to use serialization? The two most important reasons are to persist the state of an object to a storage medium so an exact copy can be re-created at a later stage, and to send the object by value from one application domain to another. For example, serialization is used to save session state in ASP.NET and to copy objects to the Clipboard in Windows Forms. It is also used by remoting to pass objects by value from one application domain to another.
In This Section
- Persistent Storage
Describes the need for serializing an object.
- Marshal by Value
Describes the marshal-by-value process.
Related Sections
- Binary Serialization
Describes the binary serialization mechanism that is included with the common language runtime.
- .NET Remoting
Describes the various communications methods available in the .NET Framework for remote communications.
- XML and SOAP Serialization
Describes the XML and SOAP serialization mechanism that is included with the common language runtime.