protobuf-net 3.4.19
protobuf-net
A contract-based serializer for .NET that reads and writes Google's "protocol buffers" wire format.
The API follows normal .NET patterns — broadly comparable to XmlSerializer or DataContractSerializer —
so you annotate the types you already have:
[ProtoContract]
public class Person
{
[ProtoMember(1)] public int Id { get; set; }
[ProtoMember(2)] public string Name { get; set; }
}
using var file = File.Create("person.bin");
Serializer.Serialize(file, new Person { Id = 12345, Name = "Fred" });
Members are identified on the wire by number, not by name, so the numbers matter: pick them once and keep
them stable. Everything the attributes do can also be configured at runtime, via RuntimeTypeModel.
Contract-first works too: generate C#/VB from a .proto schema at build time, from the command line with
protobuf-net.Protogen, or in your browser at
protobuf-net.dev.
Build tools — analyzers that check your contracts, and the generator that emits serializers at compile time
so native AOT and trimming work — ship with this package by default;
opt out with <ProtoBufDisableBuildTools>true</ProtoBufDisableBuildTools>.
More
Showing the top 20 packages that depend on protobuf-net.
| Packages | Downloads |
|---|---|
|
prometheus-net
.NET client for prometheus.io
|
8 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
8 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
7 |
|
prometheus-net
.NET client for prometheus.io
|
7 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
6 |
|
prometheus-net
.NET client for prometheus.io
|
6 |
|
prometheus-net
.NET client for prometheus.io
|
5 |
.NET Framework 4.6.2
- protobuf-net.Core (>= 3.4.19)
.NET 8.0
- protobuf-net.Core (>= 3.4.19)
.NET Standard 2.0
- protobuf-net.Core (>= 3.4.19)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
.NET Standard 2.1
- protobuf-net.Core (>= 3.4.19)
| Version | Downloads | Last updated |
|---|---|---|
| 3.4.19 | 1 | 8/27/2026 |
| 3.4.14 | 0 | 8/21/2026 |
| 3.4.0 | 0 | 8/20/2026 |
| 3.3.21 | 0 | 8/17/2026 |
| 3.3.8 | 0 | 8/11/2026 |
| 3.3.0 | 0 | 8/11/2026 |
| 3.3.0-g6785ecbb35 | 16 | 7/24/2025 |
| 3.2.56 | 14 | 8/3/2025 |
| 3.2.55 | 15 | 7/30/2025 |
| 3.2.52 | 4 | 6/7/2025 |
| 3.2.46 | 4 | 6/7/2025 |
| 3.2.45 | 6 | 6/7/2025 |
| 3.2.30 | 26 | 6/7/2025 |
| 3.2.26 | 25 | 6/7/2025 |
| 3.2.16 | 21 | 6/7/2025 |
| 3.2.12 | 19 | 6/7/2025 |
| 3.2.8 | 15 | 6/9/2025 |
| 3.2.0 | 21 | 6/9/2025 |
| 3.1.33 | 18 | 6/7/2025 |
| 3.1.26 | 29 | 6/7/2025 |
| 3.1.25 | 31 | 6/7/2025 |
| 3.1.22 | 21 | 6/7/2025 |
| 3.1.17 | 19 | 6/7/2025 |
| 3.1.4 | 18 | 6/9/2025 |
| 3.1.0 | 23 | 6/9/2025 |
| 3.0.131 | 22 | 6/7/2025 |
| 3.0.101 | 26 | 6/7/2025 |
| 3.0.73 | 21 | 6/7/2025 |
| 3.0.72 | 17 | 6/7/2025 |
| 3.0.62 | 19 | 6/7/2025 |
| 3.0.52 | 29 | 6/7/2025 |
| 3.0.29 | 27 | 6/7/2025 |
| 3.0.27 | 19 | 6/7/2025 |
| 3.0.24 | 25 | 6/7/2025 |
| 3.0.21 | 26 | 6/7/2025 |
| 3.0.18 | 17 | 6/7/2025 |
| 3.0.13 | 18 | 6/7/2025 |
| 3.0.2 | 24 | 6/8/2025 |
| 3.0.0 | 19 | 6/9/2025 |
| 2.4.9 | 25 | 6/10/2025 |
| 2.4.8 | 17 | 6/9/2025 |
| 2.4.7 | 13 | 6/9/2025 |
| 2.4.6 | 20 | 6/10/2025 |
| 2.4.4 | 24 | 6/9/2025 |
| 2.4.1 | 28 | 6/6/2025 |
| 2.4.0 | 25 | 6/9/2025 |
| 2.3.17 | 27 | 6/7/2025 |
| 2.3.16 | 27 | 6/7/2025 |
| 2.3.15 | 17 | 6/7/2025 |
| 2.3.14 | 16 | 6/7/2025 |
| 2.3.14-alpha1 | 29 | 6/7/2025 |
| 2.3.13 | 29 | 6/7/2025 |
| 2.3.7 | 17 | 6/9/2025 |
| 2.3.6 | 23 | 6/9/2025 |
| 2.3.5 | 15 | 6/7/2025 |
| 2.3.4 | 23 | 6/9/2025 |
| 2.3.3 | 17 | 6/8/2025 |
| 2.3.2 | 21 | 6/9/2025 |
| 2.3.1 | 24 | 6/9/2025 |
| 2.3.0 | 20 | 6/9/2025 |
| 2.3.0-gamma | 17 | 6/8/2025 |
| 2.2.1 | 23 | 6/9/2025 |
| 2.1.0 | 20 | 6/9/2025 |
| 2.1.0-alpha-5 | 23 | 6/7/2025 |
| 2.1.0-alpha-4 | 26 | 6/7/2025 |
| 2.1.0-alpha-3 | 26 | 6/7/2025 |
| 2.1.0-alpha-1 | 26 | 6/7/2025 |
| 2.0.0.668 | 18 | 6/7/2025 |
| 2.0.0.666 | 27 | 6/7/2025 |
| 2.0.0.664 | 24 | 6/7/2025 |
| 2.0.0.663 | 32 | 6/7/2025 |
| 2.0.0.640 | 29 | 6/7/2025 |
| 2.0.0.638 | 28 | 6/7/2025 |
| 2.0.0.621 | 23 | 6/7/2025 |
| 2.0.0.619 | 28 | 6/7/2025 |
| 2.0.0.614 | 21 | 6/7/2025 |
| 2.0.0.612 | 26 | 6/7/2025 |
| 2.0.0.611 | 29 | 6/7/2025 |
| 2.0.0.602 | 21 | 6/7/2025 |
| 2.0.0.601 | 18 | 6/7/2025 |
| 2.0.0.480 | 29 | 6/7/2025 |
| 1.0.0.280 | 21 | 6/7/2025 |