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

Genocs.Messaging.AzureServiceBus

Genocs Library Banner

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>() and SubscribeModern<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.0 build must remain warning-free (-warnaserror).
  • Messaging unit tests validate registration and migration contract behavior.

Support

Release Notes

Product 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. 
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
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