By tag: Serialization
0
kicks
Serialization/Deserialization
Serialization is the process of converting object into linear sequence of byte, while deserialization is constructing object from that serialized linear sequence of byte.
0
kicks
Xml serialization using generics
Serialize/deserialize your objects using generics. Customize settings like indentation, encoding, namespaces and others.
0
kicks
Version Tolerant Serialization
We had a situation where the datatypes of a few properties in a extended commerce server 2007 class had to be changed. This class is serializable and a change to the datatypes would break compatibility with the data from the past. The data from the past has to be supported by the application for a p...
0
kicks
More on XAML Serialization
The hidden story behind serialization of collections. Short version: You have to implement IDictionary or IList, or be an ArrayExtension. Oh, and stay far away from IAddChild.
0
kicks
XAML Serialization FTW
Some notes on my journey from XML serialization to XAML serialization of POCO's.
0
kicks
Put Down the XmlNode and Step Away From the StringBuilder
Demonstrates the easiest way of generating and parsing Xml available in the .net framework. No more XmlNodes and no more CleanStringForXml custom utility functions.
0
kicks
XMLSerializer: XML Serialization Helper Class
The purpose of XMLSerializer helper class is to simplify the basic serialization tasks, such as the conversion of objects to XML - string or file - and vice versa (deserialization)
0
kicks
Introduction to XML Serialization
Two static generic methods that allow you to serialize or deserialize classes to/from XML with one line of code and a short article giving an overview of XML serialization.
0
kicks
class.Serialize()
Handly little function which I include in most classes. This function returns the object serialized as XML, perfect for logging etc.
0
kicks
Convert a C# Object to a SQL string
A static method that converts C# standard objects and types to a SQL string, e.g. a byte array is saved as a blob.
0
kicks
Sertool - A serialization diagnostics tool
If you've ever had a complex data structure to serialize, only to find that - somewhere, somehow - something non-serializable has been referenced by your structure, you will find this tool indispensible.
Sertool crawls an object graph and outputs the details of all objects that will be serialized...
0
kicks
.NET - Serialization, part II
This is the second part of the series talking about serialization in .NET. It covers implementing the IDeserializationCallback interface and using XML serialization.
0
kicks
.NET - Serialization
This article deals with the BinaryFormatter and SoapFormatter classes in the .NET Framework, and gives an example of how you might serialize a custom object