
Serialization - .NET | Microsoft Learn
Oct 25, 2023 · This article provides information about .NET serialization technologies, including binary serialization, XML and SOAP serialization, and JSON serialization.
Serialization: Making a Serializable Class | Microsoft Learn
Aug 3, 2021 · The basic serialization protocol and functionality are defined in the CObject class. By deriving your class from CObject (or from a class derived from CObject), as shown in the …
Serialization in MFC | Microsoft Learn
Aug 3, 2021 · This article explains the serialization mechanism provided in the Microsoft Foundation Class Library (MFC) to allow objects to persist between runs of your program. …
System.Runtime.Serialization Namespace | Microsoft Learn
Serialization is the process of converting an object or a graph of objects into a linear sequence of bytes for either storage or transmission to another location.
PublishedTrimmed projects fail reflection-based serialization
Jan 1, 2025 · Learn about the .NET 8 breaking change in System.Text.Json serialization where projects with PublishTrimmed enabled now fail reflection-based serialization by default.
SerializationInfo Class (System.Runtime.Serialization)
This class is used by objects with custom serialization behavior. The GetObjectData method on either ISerializable or ISerializationSurrogate populates the SerializationInfo store with the …
Serialization - Visual Basic | Microsoft Learn
Dec 21, 2022 · Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file. Its main purpose is to save …
Examples of XML Serialization - .NET | Microsoft Learn
These code examples show advanced scenarios, including how to use XML serialization to generate an XML stream that conforms to an XML Schema document.
How to serialize properties of derived classes with …
Serialize properties of derived classes Beginning with .NET 7, System.Text.Json supports polymorphic type hierarchy serialization and deserialization with attribute annotations.
Serialization - Framework Design Guidelines | Microsoft Learn
Oct 22, 2008 · Serialization is the process of converting an object into a format that can be readily persisted or transported. For example, you can serialize an object, transport it over the internet …