Niobium.Messaging.ServiceBus
4.0.56
See the version list below for details.
dotnet add package Niobium.Messaging.ServiceBus --version 4.0.56
NuGet\Install-Package Niobium.Messaging.ServiceBus -Version 4.0.56
<PackageReference Include="Niobium.Messaging.ServiceBus" Version="4.0.56" />
<PackageVersion Include="Niobium.Messaging.ServiceBus" Version="4.0.56" />
<PackageReference Include="Niobium.Messaging.ServiceBus" />
paket add Niobium.Messaging.ServiceBus --version 4.0.56
#r "nuget: Niobium.Messaging.ServiceBus, 4.0.56"
#:package Niobium.Messaging.ServiceBus@4.0.56
#addin nuget:?package=Niobium.Messaging.ServiceBus&version=4.0.56
#tool nuget:?package=Niobium.Messaging.ServiceBus&version=4.0.56
Niobium.Messaging.ServiceBus
Niobium.Messaging.ServiceBus provides messaging abstractions, queue brokers, and helpers for integrating Azure Service Bus with the Niobium.Messaging event-driven framework. It enables secure, scalable, and flexible message publishing and consumption for distributed .NET applications.
What is this project about?
- Implements Service Bus queue brokers and message entry types for Niobium.Messaging.
- Provides DI modules and options for configuring Service Bus integration.
- Includes helpers for message conversion, authentication, and string utilities.
- Used by Niobium.* and consumer projects to enable event-driven and message-based workflows over Azure Service Bus.
Getting Started
1. Install the NuGet Package
Add the package to your .NET project:
dotnet add package Niobium.Messaging.ServiceBus
2. Register Messaging ServiceBus Dependencies
In your DI setup, use the provided dependency module:
using Niobium.Messaging.ServiceBus;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
services.AddCodMessagingServiceBus(options =>
{
options.ConnectionString = "<your-service-bus-connection-string>";
// Configure additional options as needed
});
3. Use Messaging ServiceBus Brokers
- Publish/Consume Messages:
var broker = serviceProvider.GetRequiredService<ServiceBusQueueBroker>(); await broker.PublishAsync(new ServiceBusMessageEntry { ... }); var messages = await broker.ReceiveAsync("queueName"); - Authentication-based Queue Factory:
var factory = serviceProvider.GetRequiredService<AuthenticationBasedQueueFactory>(); var queue = factory.CreateQueue("queueName", credentials);
How Niobium.Messaging.ServiceBus is Consumed
Consumer projects (e.g., Niobium.Invoicing.Core) use Niobium.Messaging.ServiceBus to:
- Register Service Bus messaging brokers and helpers via DI.
- Publish and consume domain events and messages over Azure Service Bus.
- Integrate with Niobium.Messaging for event-driven workflows.
Contributing
Contributions are welcome! To contribute:
- Fork the repository
- Create a feature branch
- Make your changes with clear commit messages
- Submit a pull request
Please ensure your code follows the existing style and includes appropriate tests and documentation.
License
This project is licensed under the MIT License. See the LICENSE file for details.
| 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
- Azure.Identity (>= 1.21.0)
- Azure.Messaging.ServiceBus (>= 7.20.2)
- Microsoft.Extensions.Options (>= 10.0.11)
- Microsoft.Net.Http.Headers (>= 10.0.11)
- Niobium.Identity (>= 4.0.56)
- Niobium.Messaging (>= 4.0.56)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Niobium.Messaging.ServiceBus:
| Package | Downloads |
|---|---|
|
Niobium.Platform.ServiceBus
Azure Service Bus DI, helpers, and entitlements for .NET apps. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.2.66 | 96 | 9/4/2026 |
| 4.0.64 | 95 | 9/4/2026 |
| 4.0.60 | 120 | 8/30/2026 |
| 4.0.56 | 194 | 8/29/2026 |
| 4.0.55 | 123 | 8/28/2026 |
| 4.0.54 | 93 | 8/28/2026 |
| 4.0.53 | 95 | 8/27/2026 |
| 4.0.48 | 109 | 8/9/2026 |
| 4.0.42 | 332 | 7/18/2026 |
| 4.0.37 | 125 | 7/17/2026 |
| 4.0.35 | 129 | 7/17/2026 |
| 4.0.34 | 149 | 7/17/2026 |
| 4.0.33 | 132 | 7/16/2026 |
| 4.0.32 | 219 | 7/2/2026 |
| 3.4.30 | 231 | 12/22/2025 |
| 3.4.29 | 337 | 11/11/2025 |
| 3.4.28 | 373 | 11/2/2025 |
| 3.4.27 | 168 | 11/1/2025 |
| 3.4.26 | 168 | 11/1/2025 |
| 3.4.25 | 174 | 11/1/2025 |