protobuf-net/protobuf-net - OSS Alternative - Discover Top Open Source Alternatives to Popular Software
Serialization Library
4.9k 2026-05-12

protobuf-net/protobuf-net

A contract-based serializer for .NET that uses Google's Protocol Buffers format, offering an idiomatic .NET API.

Core Features

Contract-based serialization for .NET types using attributes.
Implements Google's Protocol Buffers format for efficient binary data.
Provides an idiomatic .NET API, simplifying usage for C# developers.
Supports various .NET runtimes including .NET 6+, .NET Standard, and .NET Framework.
Handles complex scenarios like object inheritance and optional .proto schema generation.

Quick Start

Install-Package protobuf-net

Detailed Introduction

protobuf-net is a robust, contract-based serialization library designed for .NET applications, leveraging Google's high-performance Protocol Buffers format. Unlike Google's native C# implementation, protobuf-net offers an API that aligns with typical .NET patterns, making it intuitive for developers familiar with XmlSerializer or DataContractSerializer. It enables efficient serialization and deserialization of .NET objects into compact binary data, crucial for scenarios requiring fast data transfer, storage, or inter-process communication. The library supports a wide range of .NET runtimes and includes features like explicit inheritance handling and tools for .proto schema generation.

OSS Alternative

Explore the best open source alternatives to commercial software.

© 2026 OSS Alternative. hotgithub.com - All rights reserved.