About 288,000 results
Open links in new tab
  1. 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.

  2. 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 …

  3. 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.

  4. XmlSerializer.Deserialize Method (System.Xml.Serialization)

    public: System::Object ^ Deserialize (System::Xml::XmlReader ^ xmlReader, System::String ^ encodingStyle, System::Xml::Serialization::XmlDeserializationEvents events);

  5. SerializableAttribute Class (System) | Microsoft Learn

    You can control binary serialization more granularly by implementing the ISerializable interface to override the serialization process. Or you can exclude fields from serialization by applying the …

  6. How to serialize JSON in C# - .NET | Microsoft Learn

    Oct 3, 2025 · Serialization behavior By default, all public properties are serialized. You can specify properties to ignore. You can also include private members. The default encoder escapes non …

  7. 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.

  8. Serialization - Framework Design Guidelines | Microsoft Learn

    Nov 17, 2022 · 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 …

  9. Examples of XML Serialization - .NET | Microsoft Learn

    Mar 17, 2023 · These code examples show advanced scenarios, including how to use XML serialization to generate an XML stream that conforms to an XML Schema document.

  10. 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 …