Genocs.Messaging.AzureServiceBus
9.0.2
Requires NuGet 5.0.0 or higher.
dotnet add package Genocs.Messaging.AzureServiceBus --version 9.0.2
NuGet\Install-Package Genocs.Messaging.AzureServiceBus -Version 9.0.2
<PackageReference Include="Genocs.Messaging.AzureServiceBus" Version="9.0.2" />
<PackageVersion Include="Genocs.Messaging.AzureServiceBus" Version="9.0.2" />
<PackageReference Include="Genocs.Messaging.AzureServiceBus" />
paket add Genocs.Messaging.AzureServiceBus --version 9.0.2
#r "nuget: Genocs.Messaging.AzureServiceBus, 9.0.2"
#:package Genocs.Messaging.AzureServiceBus@9.0.2
#addin nuget:?package=Genocs.Messaging.AzureServiceBus&version=9.0.2
#tool nuget:?package=Genocs.Messaging.AzureServiceBus&version=9.0.2
Genocs.Messaging.AzureServiceBus

Azure Service Bus integration for messaging and transport workflows. Supports net10.0, net9.0, and net8.0.
Installation
dotnet add package Genocs.Messaging.AzureServiceBus
Getting Started
Use this package to integrate Azure Service Bus transport capabilities with Genocs messaging workflows.
Register Azure Service Bus through the Genocs builder extension:
using Genocs.Core.Builders;
using Genocs.Messaging.AzureServiceBus;
IGenocsBuilder genocs = builder
.AddGenocs()
.AddAzureServiceBus();
The extension binds the azureServiceBusQueue and azureServiceBusTopic sections and registers queue/topic services based on the corresponding Enabled flags.
When enabled, queue/topic processors are started and stopped through the host IHostedService lifecycle (fully async startup/shutdown), avoiding sync-over-async startup blocking.
Handler registration direction:
- Prefer modern CQRS handler registrations:
ConsumeModern<T, TH>()andSubscribeModern<T, TH>(). - Legacy registrations
Consume<T, TH>()/Subscribe<T, TH>()remain available for compatibility and are marked obsolete.
{
"azureServiceBusQueue": {
"enabled": true,
"connectionString": "Endpoint=sb://your-namespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=your-key",
"queueName": "orders-queue"
},
"azureServiceBusTopic": {
"enabled": true,
"connectionString": "Endpoint=sb://your-namespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=your-key",
"topicName": "orders-topic",
"subscriptionName": "orders-subscription"
}
}
Warning Policy
Messaging package warning baseline checks are enforced through validate-messaging.mk:
net10.0build must remain warning-free (-warnaserror).- Messaging unit tests validate registration and migration contract behavior.
Support
- Documentation Portal: https://genocs-blog.netlify.app/
- Documentation: https://github.com/Genocs/genocs-library/tree/main/docs
- Repository: https://github.com/Genocs/genocs-library
Release Notes
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Azure.Messaging.ServiceBus (>= 7.20.2)
- Genocs.Core (>= 9.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
-
net8.0
- Azure.Messaging.ServiceBus (>= 7.20.2)
- Genocs.Core (>= 9.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
-
net9.0
- Azure.Messaging.ServiceBus (>= 7.20.2)
- Genocs.Core (>= 9.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
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 |
|---|---|---|
| 9.0.2 | 85 | 9/1/2026 |
| 9.0.1 | 119 | 7/18/2026 |
| 9.0.0 | 118 | 5/21/2026 |
| 9.0.0-beta009 | 111 | 5/11/2026 |
| 9.0.0-beta008 | 110 | 5/2/2026 |
| 9.0.0-beta007 | 115 | 4/29/2026 |
| 9.0.0-beta006 | 113 | 4/27/2026 |
| 9.0.0-beta005 | 112 | 4/26/2026 |
| 9.0.0-beta004 | 106 | 4/18/2026 |
| 9.0.0-beta003 | 115 | 4/5/2026 |
| 9.0.0-beta002 | 128 | 3/17/2026 |
| 9.0.0-beta001 | 122 | 2/28/2026 |
The change log and breaking changes are listed here.
https://github.com/Genocs/genocs-library/releases