redb.Route.DataFormats.Protobuf
4.8.0
Prefix Reserved
dotnet add package redb.Route.DataFormats.Protobuf --version 4.8.0
NuGet\Install-Package redb.Route.DataFormats.Protobuf -Version 4.8.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="redb.Route.DataFormats.Protobuf" Version="4.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="redb.Route.DataFormats.Protobuf" Version="4.8.0" />
<PackageReference Include="redb.Route.DataFormats.Protobuf" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add redb.Route.DataFormats.Protobuf --version 4.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: redb.Route.DataFormats.Protobuf, 4.8.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package redb.Route.DataFormats.Protobuf@4.8.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=redb.Route.DataFormats.Protobuf&version=4.8.0
#tool nuget:?package=redb.Route.DataFormats.Protobuf&version=4.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
redb.Route.DataFormats.Protobuf
Documentation and articles: https://redbase.app
Protocol Buffers as a redb.Route data format, on Google.Protobuf. The body is a generated
IMessage class (protoc / Grpc.Tools).
.MarshalProtobuf() // IMessage → byte[], ContentType application/x-protobuf
.UnmarshalProtobuf<OrderMessage>() // byte[] / Stream → OrderMessage
context.AddProtobufDataFormat(); // then Marshal("application/x-protobuf") / Unmarshal<T>("application/x-protobuf")
// Confluent Schema Registry wire format: magic byte 0, schema id (big-endian int32), message index [0]
.MarshalProtobuf(o => { o.ConfluentWireFormat = true; o.SchemaId = 42; })
.UnmarshalProtobuf<OrderMessage>(o => o.ConfluentWireFormat = true)
Schema Registry itself (lookup, registration, id → schema) is out of scope of the format; the framing
is there so a message produced with a known id is byte-compatible with Confluent consumers.
A body that is not an IMessage fails with an error naming the format.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Google.Protobuf (>= 3.36.2)
- JsonPath.Net (>= 2.2.0)
- JsonSchema.Net (>= 7.3.4)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Options (>= 10.0.15)
- redb.Route (>= 4.8.0)
-
net11.0
- Google.Protobuf (>= 3.36.2)
- JsonPath.Net (>= 2.2.0)
- JsonSchema.Net (>= 7.3.4)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.15)
- redb.Route (>= 4.8.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.8.0 | 83 | 12/1/2026 |
| 4.7.8 | 101 | 11/30/2026 |
| 4.7.7 | 97 | 11/28/2026 |
| 4.7.6 | 100 | 11/26/2026 |
| 4.7.5 | 101 | 11/24/2026 |
| 4.7.2 | 118 | 11/13/2026 |
| 4.7.1 | 100 | 11/11/2026 |
| 4.7.0 | 102 | 11/7/2026 |
| 4.6.2 | 113 | 11/5/2026 |
| 4.6.1 | 106 | 11/4/2026 |
| 4.6.0 | 107 | 11/3/2026 |
| 4.5.1 | 108 | 10/30/2026 |
| 4.5.0 | 103 | 10/29/2026 |
| 4.4.2 | 113 | 10/23/2026 |
| 4.4.1 | 117 | 10/21/2026 |
| 4.3.0 | 122 | 10/14/2026 |
| 4.2.3 | 111 | 10/8/2026 |
| 4.2.2 | 121 | 10/5/2026 |
| 4.2.0 | 112 | 9/30/2026 |
Loading failed