63 people following this project (follow)

SharpSerializer is an open source XML and binary serializer for .NET Framework, .NET Compact Framework and Silverlight
It was developed with C#. Actually SharpSerializer can serialize to Xml and to its own binary format, but providing it with custom writers, it can serialize data to other text formats like Json or other encrypted, compressed, optimized etc. binary streams.

If you are tired of marking your data model with plenty of attributes, or passing in advance to your current serializer all the types you could ever serialize - use SharpSerializer. It's free of charge for any purpose.

As a user of the NuGet.org plugin for VS, just search for "sharpserializer" in the "Add library package reference.." window in your VS.

Sample list of types serialized out of the box with SharpSerializer
- Multidimensional arrays, nested arrays, array-of-arrays
- Polymorphic properties (where property value is inherited from the property type - is its subtype)
- Generic types with polymorphic arguments (i.e. MyGenericClass<AbstractArgumentClass>)
- Generic listings (i.e. Dictionary<K,T>)
- Polymorphic listings (Collection, Dictionary, single dimensional array, multidimensional array)
- Listings of generic types with polymorphic arguments (i.e. an array IMyGenericInterface<MyAbstractClass>,,)


External links with more information about SharpSerializer
- SharpSerializer page with tutorial: www.sharpserializer.com
- Article on CodeProject: XML Serialization of Generic Dictionary, Multidimensional Array, and Inherited Type, with SharpSerializer .NET
- Article on CodeProject: How to serialize data effectively? Custom serialization of Bitmap, Cursor, Icon, Font and other objects without default constructor with SharpSerializer
- Article on CodeProject: Binary Serialization to Isolated Storage in Silverlight - BinaryFormatter vs. SharpSerializer

Last edited Aug 14 2011 at 7:40 PM by polo, version 6