protobuf-net 3.4.14
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 |
|---|---|
|
BeetleX.Redis
A high-performance async/non-blocking redis client components for dotnet core,default support json and protobuf data format
|
32 |
|
BeetleX.Redis
A high-performance async/non-blocking redis client components for dotnet core,default support json and protobuf data format
|
34 |
|
BeetleX.Redis
A high-performance async/non-blocking redis client components for dotnet core,default support json and protobuf data format
|
36 |
|
BeetleX.Redis
A high-performance async/non-blocking redis client components for dotnet core,default support json and protobuf data format
|
59 |
|
prometheus-net
.NET client for prometheus.io
|
32 |
|
prometheus-net
.NET client for prometheus.io
|
33 |
|
prometheus-net
.NET client for prometheus.io
|
34 |
|
prometheus-net
.NET client for prometheus.io
|
35 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
32 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
33 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
34 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
35 |
|
prometheus-net
.NET metrics exporter for the Prometheus monitoring and alerting system
|
37 |
.NET Framework 4.6.2
- protobuf-net.Core (>= 3.4.14)
.NET 8.0
- protobuf-net.Core (>= 3.4.14)
.NET Standard 2.0
- protobuf-net.Core (>= 3.4.14)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
.NET Standard 2.1
- protobuf-net.Core (>= 3.4.14)
| Version | Downloads | Last updated |
|---|---|---|
| 3.4.14 | 1 | 08/22/2026 |
| 3.4.0 | 0 | 08/20/2026 |
| 3.3.21 | 0 | 08/17/2026 |
| 3.3.8 | 1 | 08/21/2026 |
| 3.3.0 | 0 | 08/11/2026 |
| 3.3.0-g6785ecbb35 | 24 | 07/19/2025 |
| 3.2.56 | 19 | 08/11/2025 |
| 3.2.55 | 25 | 08/10/2025 |
| 3.2.52 | 34 | 04/26/2025 |
| 3.2.46 | 37 | 01/31/2025 |
| 3.2.45 | 26 | 01/18/2025 |
| 3.2.30 | 27 | 12/16/2023 |
| 3.2.26 | 35 | 11/26/2023 |
| 3.2.16 | 26 | 12/21/2023 |
| 3.2.12 | 26 | 12/19/2023 |
| 3.2.8 | 28 | 03/01/2024 |
| 3.2.0 | 31 | 12/03/2023 |
| 3.1.33 | 24 | 03/01/2024 |
| 3.1.26 | 29 | 01/12/2024 |
| 3.1.25 | 27 | 12/21/2023 |
| 3.1.22 | 33 | 12/27/2023 |
| 3.1.17 | 29 | 01/02/2024 |
| 3.1.4 | 25 | 12/02/2023 |
| 3.1.0 | 32 | 12/01/2023 |
| 3.0.131 | 26 | 11/03/2023 |
| 3.0.101 | 52 | 08/18/2023 |
| 3.0.73 | 26 | 03/01/2024 |
| 3.0.72 | 26 | 01/06/2024 |
| 3.0.62 | 28 | 03/01/2024 |
| 3.0.52 | 33 | 03/01/2024 |
| 3.0.29 | 31 | 12/02/2023 |
| 3.0.27 | 32 | 01/07/2024 |
| 3.0.24 | 30 | 12/11/2023 |
| 3.0.21 | 28 | 03/02/2024 |
| 3.0.18 | 23 | 12/19/2023 |
| 3.0.13 | 32 | 01/13/2024 |
| 3.0.2 | 25 | 12/28/2023 |
| 3.0.0 | 25 | 11/03/2023 |
| 2.4.9 | 21 | 03/07/2025 |
| 2.4.8 | 28 | 12/03/2023 |
| 2.4.7 | 23 | 12/04/2023 |
| 2.4.6 | 27 | 01/03/2024 |
| 2.4.4 | 33 | 12/02/2023 |
| 2.4.1 | 24 | 12/04/2023 |
| 2.4.0 | 29 | 01/03/2024 |
| 2.3.17 | 32 | 11/03/2023 |
| 2.3.16 | 21 | 11/04/2023 |
| 2.3.15 | 30 | 03/02/2024 |
| 2.3.14 | 31 | 01/12/2024 |
| 2.3.14-alpha1 | 27 | 03/01/2024 |
| 2.3.13 | 41 | 03/01/2024 |
| 2.3.7 | 33 | 12/19/2023 |
| 2.3.6 | 28 | 11/04/2023 |
| 2.3.5 | 27 | 12/03/2023 |
| 2.3.4 | 24 | 12/05/2023 |
| 2.3.3 | 22 | 03/26/2024 |
| 2.3.2 | 22 | 12/17/2023 |
| 2.3.1 | 21 | 12/02/2023 |
| 2.3.0 | 24 | 12/01/2023 |
| 2.3.0-gamma | 25 | 12/01/2023 |
| 2.2.1 | 29 | 03/01/2024 |
| 2.1.0 | 32 | 03/25/2024 |
| 2.1.0-alpha-5 | 27 | 03/12/2024 |
| 2.1.0-alpha-4 | 24 | 03/12/2024 |
| 2.1.0-alpha-3 | 28 | 03/05/2024 |
| 2.1.0-alpha-1 | 26 | 03/04/2024 |
| 2.0.0.668 | 32 | 11/30/2023 |
| 2.0.0.666 | 26 | 12/02/2023 |
| 2.0.0.664 | 30 | 12/03/2023 |
| 2.0.0.663 | 28 | 11/29/2023 |
| 2.0.0.640 | 28 | 12/04/2023 |
| 2.0.0.638 | 32 | 01/15/2024 |
| 2.0.0.621 | 26 | 12/19/2023 |
| 2.0.0.619 | 36 | 12/03/2023 |
| 2.0.0.614 | 25 | 12/04/2023 |
| 2.0.0.612 | 27 | 12/04/2023 |
| 2.0.0.611 | 34 | 12/03/2023 |
| 2.0.0.602 | 30 | 12/03/2023 |
| 2.0.0.601 | 27 | 12/03/2023 |
| 2.0.0.480 | 29 | 12/19/2023 |
| 1.0.0.280 | 26 | 03/02/2024 |