Bielu.AspNetCore.AsyncApi.Attributes
1.0.0
Prefix Reserved
dotnet add package Bielu.AspNetCore.AsyncApi.Attributes --version 1.0.0
NuGet\Install-Package Bielu.AspNetCore.AsyncApi.Attributes -Version 1.0.0
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Attributes" Version="1.0.0" />
<PackageVersion Include="Bielu.AspNetCore.AsyncApi.Attributes" Version="1.0.0" />
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Attributes" />
paket add Bielu.AspNetCore.AsyncApi.Attributes --version 1.0.0
#r "nuget: Bielu.AspNetCore.AsyncApi.Attributes, 1.0.0"
#:package Bielu.AspNetCore.AsyncApi.Attributes@1.0.0
#addin nuget:?package=Bielu.AspNetCore.AsyncApi.Attributes&version=1.0.0
#tool nuget:?package=Bielu.AspNetCore.AsyncApi.Attributes&version=1.0.0
Bielu.AspNetCore.AsyncApi.Attributes
The attributes used to describe AsyncAPI channels, operations, messages and parameters for Bielu.AspNetCore.AsyncApi.
This package is deliberately separate and free of ASP.NET Core dependencies, so a shared contracts
assembly can be annotated without dragging the web stack into its dependency graph. The application
that references Bielu.AspNetCore.AsyncApi then discovers those annotations at generation time.
Installation
dotnet add package Bielu.AspNetCore.AsyncApi.Attributes
Usage
[AsyncApi]
[Channel("light/measured")]
public class StreetlightMessageBus
{
[PublishOperation(typeof(LightMeasuredEvent), Summary = "Inform about environmental lighting conditions.")]
public void PublishLightMeasuredEvent(LightMeasuredEvent e) { }
}
Analyzers
The package also ships the BASYNC Roslyn analyzers, which catch attribute misuse that would
otherwise fail silently at generation time — an operation attribute with no [Channel], a
[Channel] on a type with no [AsyncApi], duplicate message names, malformed example JSON, and
identifiers the AsyncAPI specification discourages.
Documentation
Feedback & Contributing
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
- ByteBard.AsyncAPI.NET (>= 3.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Bielu.AspNetCore.AsyncApi.Attributes:
| Package | Downloads |
|---|---|
|
Bielu.AspNetCore.AsyncApi
Code-first AsyncAPI document generation for ASP.NET Core. Describe channels, operations and messages with attributes or a fluent API, then serve the generated AsyncAPI 2.6 or 3.1 document from your app with MapAsyncApi() — or write it at build time. Supports XML doc comments, message examples, protocol bindings (SignalR, gRPC, SSE, WebRTC), multiple documents and Native AOT. |
|
|
Bielu.AspNetCore.AsyncApi.UI
[DEPRECATED] Built-in AsyncAPI UI for Bielu.AspNetCore.AsyncApi. This package is deprecated — render the AsyncAPI document with Scalar instead (Scalar.AspNetCore + MapScalarApiReference), optionally with Bielu.AspNetCore.AsyncApi.Scalar.SignalR / .Scalar.Grpc for interactive protocol consoles. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 213 | 8/2/2026 |
| 1.0.0-beta.639212611648129867 | 74 | 8/2/2026 |
| 1.0.0-beta.639212599446238423 | 79 | 8/2/2026 |
| 1.0.0-beta.639212120718910090 | 91 | 8/1/2026 |
| 1.0.0-beta.639212076260211021 | 96 | 8/1/2026 |
| 1.0.0-beta.639212044042877584 | 92 | 8/1/2026 |
| 1.0.0-beta.639209220947418460 | 115 | 7/29/2026 |
| 1.0.0-beta.639209066819502286 | 79 | 7/29/2026 |
| 1.0.0-beta.639208696856244784 | 76 | 7/28/2026 |
| 1.0.0-beta.639207351003116057 | 86 | 7/27/2026 |
| 1.0.0-beta.639207338242555809 | 83 | 7/27/2026 |
| 1.0.0-beta.639203173131792988 | 132 | 7/22/2026 |
| 1.0.0-beta.639203162467618196 | 74 | 7/22/2026 |
| 1.0.0-beta.639203031360907880 | 82 | 7/22/2026 |
| 1.0.0-beta.639203020568560427 | 74 | 7/22/2026 |
| 1.0.0-beta.639203013842046086 | 74 | 7/22/2026 |
| 1.0.0-beta.639200918818601177 | 552 | 7/19/2026 |
| 1.0.0-beta.639200865823940136 | 80 | 7/19/2026 |
| 1.0.0-beta.639200669692946724 | 78 | 7/19/2026 |
| 1.0.0-beta.639197837648052351 | 255 | 7/16/2026 |