Skip to content
Vladyslav Taranov edited this page Mar 5, 2016 · 34 revisions

AqlaSerializer V2

It is a fast and portable binary serializer designed to be easily used on your existing code with minimal changes on a wide range of .NET platforms. With AqlaSerializer you can store objects as a small in size binary data (far smaller than xml). And it's more CPU effective than BinaryFormatter and other core .NET serializers (which could be unavailable on your target platform).

It is a free open source project in which you can participiate.

Basically it's a fork of well known protobuf-net project. Protobuf-net unfortunately has issues with handling some very common .NET specific features.

AqlaSerializer main goal is to support all common .NET features for object (not just data) serialization.

The usage is very simple; at the most basic level, simply read from a stream or write to a stream:

[SerializableType]
class Person 
{
    public int Id { get; set; }
    public string Name { get; set: }
}


Serializer.Serialize(outputStream, person);

...

var person = Serializer.Deserialize<Person>(inputStream);
Clone this wiki locally