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
                    
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="Bielu.AspNetCore.AsyncApi.Protobuf" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bielu.AspNetCore.AsyncApi.Protobuf" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Protobuf" />
                    
Project file
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 Bielu.AspNetCore.AsyncApi.Protobuf --version 2.0.0
                    
#r "nuget: Bielu.AspNetCore.AsyncApi.Protobuf, 2.0.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 Bielu.AspNetCore.AsyncApi.Protobuf@2.0.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=Bielu.AspNetCore.AsyncApi.Protobuf&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Bielu.AspNetCore.AsyncApi.Protobuf&version=2.0.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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