Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/standard/…
Serialization - .NET | Microsoft Learn
This article provides information about .NET serialization technologies, including binary serialization, XML and SOAP serialization, and JSON serialization.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/api/syste…
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.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/visual-ba…
Serialization - Visual Basic | Microsoft Learn
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 the state of an object in order to be able to recreate it when needed. The reverse process is called deserialization.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/api/syste…
XmlSerializer.Deserialize Method (System.Xml.Serialization)
public object Deserialize(System.Xml.XmlReader xmlReader, System.Xml.Serialization.XmlDeserializationEvents events); Parameters xmlReader XmlReader The XmlReader that contains the document to deserialize.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/standard/…
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.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/framework…
Serialization and Deserialization - WCF | Microsoft Learn
Windows Communication Foundation (WCF) includes a new serialization engine, the DataContractSerializer. The DataContractSerializer translates between .NET Framework objects and XML, in both directions. This topic explains how the serializer works.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/api/syste…
SerializableAttribute Class (System) | Microsoft Learn
Indicates that a class can be serialized using binary or XML serialization. This class cannot be inherited.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/api/syste…
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 name, type, and value of each piece of information it wants to serialize.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/standard/…
Serialization - Framework Design Guidelines | Microsoft Learn
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 using HTTP, and deserialize it at the destination machine.
Global web icon
microsoft.com
https://learn.microsoft.com/en-us/dotnet/standard/…
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 fields and serialization needs. Here's an example prompt you can use to generate serialization code: