About 50 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 and Deserialization - WCF | Microsoft Learn

    Apr 5, 2023 · Windows Communication Foundation (WCF) includes a new serialization engine, the DataContractSerializer. The DataContractSerializer translates between .NET Framework …

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

  4. XmlSerializer Class (System.Xml.Serialization) | Microsoft Learn

    using System; using System.Xml; using System.Xml.Serialization; using System.IO; /* The XmlRootAttribute allows you to set an alternate name (PurchaseOrder) of the XML element, …

  5. System.Text.Json.Serialization Namespace | Microsoft Learn

    Contains classes that are used to customize and extend serialization and deserialization of objects into JSON formatted documents or streams, either via an attribute model or via type …

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

    Use AI to serialize to JSON You can use AI tools, such as GitHub Copilot, to generate code that uses System.Text.Json to serialize to JSON. You can customize the prompt to fit your object …

  7. Details of XML serialization - .NET | Microsoft Learn

    Serialization converts an object into a form that can be transported. This article provides an overview of XML serialization and the XmlSerializer class.

  8. How to ignore properties with System.Text.Json - .NET

    To prevent serialization of default values in value type properties, set the DefaultIgnoreCondition property to WhenWritingDefault, as shown in the following example:

  9. JsonUnknownDerivedTypeHandling Enum …

    Defines how objects of a derived runtime type that has not been explicitly declared for polymorphic serialization should be handled.

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