Bielu.AspNetCore.AsyncApi.Protobuf
2.0.0
Prefix Reserved
dotnet add package Bielu.AspNetCore.AsyncApi.Protobuf --version 2.0.0
NuGet\Install-Package Bielu.AspNetCore.AsyncApi.Protobuf -Version 2.0.0
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Protobuf" Version="2.0.0" />
<PackageVersion Include="Bielu.AspNetCore.AsyncApi.Protobuf" Version="2.0.0" />
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Protobuf" />
paket add Bielu.AspNetCore.AsyncApi.Protobuf --version 2.0.0
#r "nuget: Bielu.AspNetCore.AsyncApi.Protobuf, 2.0.0"
#:package Bielu.AspNetCore.AsyncApi.Protobuf@2.0.0
#addin nuget:?package=Bielu.AspNetCore.AsyncApi.Protobuf&version=2.0.0
#tool nuget:?package=Bielu.AspNetCore.AsyncApi.Protobuf&version=2.0.0
Bielu.AspNetCore.AsyncApi.Protobuf
Describes AsyncAPI payloads whose types are Protocol Buffers messages, the
classes Grpc.Tools generates, by their .proto source, declared with
schemaFormat: application/vnd.google.protobuf;version=3.
The source is rendered from the generated message descriptor, so field numbers, types, labels, maps, oneofs, nested types, enums, reserved ranges and proto2 defaults are the real wire contract, not a guess from JSON Schema. Messages from editions files keep their JSON Schema.
Installation
dotnet add package Bielu.AspNetCore.AsyncApi.Protobuf
Usage
builder.Services.AddAsyncApi(options => options
.AddServer("grpc", "localhost:5001", "grpc")
.AddProtobufPayloads());
Each Protocol Buffers payload becomes one self-contained .proto file. The payload message is marked
// @RootNode, as the AsyncAPI Protobuf parser expects, and declared together with every message and
enum it uses; google/protobuf and google/type stay imports. Other payloads keep their JSON Schema.
The output validates against the official AsyncAPI 2.6.0 and 3.1.0 schemas.
Documentation
Feedback & Contributing
Copyright (c) 2025 Arkadiusz Biel. Released under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
| 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. |
-
net10.0
- Bielu.AspNetCore.AsyncApi (>= 2.0.0)
- Google.Protobuf (>= 3.35.1)
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 |
|---|---|---|
| 2.0.0 | 64 | 10/25/2026 |
| 2.0.0-beta.20261025083222 | 49 | 10/25/2026 |
| 2.0.0-beta.20261025073559 | 47 | 10/25/2026 |
| 2.0.0-beta.20261024233532 | 48 | 10/24/2026 |
| 2.0.0-beta.20261024230848 | 53 | 10/24/2026 |
| 2.0.0-beta.20261024191358 | 53 | 10/24/2026 |