Bielu.AspNetCore.AsyncApi.Wolverine 2.1.0

Prefix Reserved
dotnet add package Bielu.AspNetCore.AsyncApi.Wolverine --version 2.1.0
                    
NuGet\Install-Package Bielu.AspNetCore.AsyncApi.Wolverine -Version 2.1.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.Wolverine" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bielu.AspNetCore.AsyncApi.Wolverine" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Wolverine" />
                    
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.Wolverine --version 2.1.0
                    
#r "nuget: Bielu.AspNetCore.AsyncApi.Wolverine, 2.1.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.Wolverine@2.1.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.Wolverine&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Bielu.AspNetCore.AsyncApi.Wolverine&version=2.1.0
                    
Install as a Cake Tool

Bielu.AspNetCore.AsyncApi.Wolverine

Wolverine integration for Bielu.AspNetCore.AsyncApi.

Wolverine already knows where every message goes: its routing rules decide which messages are published to Kafka topics, pushed to SignalR clients or read from listeners. This package builds the AsyncAPI document from that routing, so channels and operations follow the configuration instead of being repeated in [Channel]/[ReceiveOperation] attributes that can drift from it.

Installation

dotnet add package Bielu.AspNetCore.AsyncApi.Wolverine

Usage

builder.Host.UseWolverine(opts =>
{
    opts.UseSignalR<NotificationsHub>();
    opts.Publish(rule => rule.MessagesImplementing<WebSocketMessage>().ToSignalR());

    opts.UseKafka(kafkaBootstrap);
    opts.PublishMessage<OrderPlaced>().ToKafkaTopic("orders");
    opts.ListenToKafkaTopic("stock").DefaultIncomingMessage<StockChanged>();
});

// One document per audience: what the browser receives, and what other services exchange.
builder.Services.AddAsyncApi("realtime", options =>
{
    options.AddServer("signalr", "localhost", "signalr");
    options.AddWolverine(wolverine => wolverine
        .IncludeAssemblyContaining<OrderShipped>()
        .IncludeSchemes("signalr"));
});

builder.Services.AddAsyncApi("messaging", options =>
{
    options.AddServer("kafka", kafkaBootstrap, "kafka");
    options.AddWolverine(wolverine => wolverine
        .IncludeAssemblyContaining<OrderPlaced>()
        .IncludeSchemes("kafka"));
});

What it generates:

Wolverine AsyncAPI
A route for a message type (ToKafkaTopic, ToSignalR, ...) A send operation on the endpoint's channel
A listener with DefaultIncomingMessage<T>() A receive operation on the listener's channel
A handler that returns a message with no route (or any message, with IncludeReplies()) The reply of that receive operation, addressed by the reply-uri header
The message type name ([MessageIdentity], or Wolverine's default) The message name, the same one used on the wire
The SignalR transport A channel at the path the WolverineHub is mapped at, with x-signalr bindings targeting ReceiveMessage
A Kafka topic A channel at the topic, with a kafka channel binding
SignalR, or InteropWithCloudEvents(), with DescribeCloudEvents() Messages described as the structured CloudEvents envelope Wolverine writes (type, source = service name, data)

In-process routes (local://) are never documented. XML documentation comments on the message types become the message and schema descriptions; the package loads the XML files of the assemblies it scans.

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.1.0 315 11/4/2026
2.1.0-beta.20261104151236 44 11/4/2026
2.0.2 57 11/4/2026
2.0.2-beta.20261104133150 45 11/4/2026
2.0.2-beta.20261103095504 46 11/3/2026
2.0.1 184 11/3/2026
2.0.1-beta.20261103095358 48 11/3/2026
2.0.0 351 10/25/2026
2.0.0-beta.20261025083222 60 10/25/2026
2.0.0-beta.20261025073559 53 10/25/2026
2.0.0-beta.20261024233532 55 10/24/2026
2.0.0-beta.20261024230848 58 10/24/2026
2.0.0-beta.20261024191358 52 10/24/2026
2.0.0-beta.20261024185247 60 10/24/2026
2.0.0-beta.20261024184446 55 10/24/2026
2.0.0-beta.20261024163851 65 10/24/2026
2.0.0-beta.20261024153849 55 10/24/2026
2.0.0-beta.20261024142609 53 10/24/2026
2.0.0-beta.20261024142554 52 10/24/2026
2.0.0-beta.20261024140532 48 10/24/2026
Loading failed