Fast and compact object serialization in .NET

You can use Protocol Buffers. I’m changing all my serialization code from BinaryFormatter with compression to Protocol Buffers and obtaining very good results. It’s more efficient in both time and space.

There are two .NET implementations by Jon Skeet and Marc Gravell.

Update: Official .NET implementation can be found here.

Leave a Comment