Niobium.Platform.ServiceBus 3.4.30

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

Niobium.Platform.ServiceBus

Niobium.Platform.ServiceBus provides abstractions, helpers, and DI modules for integrating Azure Service Bus messaging into .NET applications. It enables secure, role-based, and signature-based message publishing and consumption, making it easy for business apps to leverage distributed messaging patterns.

What is this project about?

  • Supplies extension points and dependency modules for Service Bus queue management and message signature issuance.
  • Supports role-based entitlements for sending/receiving messages.
  • Provides helpers for working with Azure Service Bus messages and principal parsing.
  • Used by Niobium.* and consumer projects to standardize and secure Service Bus integration.

Getting Started

1. Install the NuGet Package

Add the package to your .NET project:

dotnet add package Niobium.Platform.ServiceBus

2. Register ServiceBus Dependencies

In your DI setup, use the provided dependency module:

using Niobium.Platform.ServiceBus;
using Microsoft.Extensions.DependencyInjection;

var services = new ServiceCollection();
services.AddCodPlatformServiceBus(options =>
{
    options.ConnectionString = "<your-service-bus-connection-string>";
    // Configure additional options as needed
});

3. Use ServiceBus Helpers

  • Send/Receive Messages:
    var queueControl = serviceProvider.GetRequiredService<IDefaultServiceBusQueueControl>();
    await queueControl.SendAsync("queueName", message);
    
  • Signature Issuance:
    var issuer = serviceProvider.GetRequiredService<IServiceBusSignatureIssuer>();
    var signature = issuer.IssueSignature(message);
    
  • Role-based Entitlements:
    var descriptor = new RoleBasedSendEntitlementDescriptor("roleName");
    // Use with queue control for access checks
    

How Niobium.Platform.ServiceBus is Consumed

Consumer projects (e.g., Niobium.Invoicing.Core) use Niobium.Platform.ServiceBus to:

  • Register Service Bus dependencies and helpers via DI.
  • Securely send and receive messages with role-based access.
  • Integrate with distributed messaging infrastructure using standardized patterns.

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with clear commit messages
  4. 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 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 was computed.  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 was computed.  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
3.4.30 181 12/22/2025
3.4.29 286 11/11/2025
3.4.28 189 11/2/2025
3.4.27 124 11/1/2025
3.4.26 123 11/1/2025
3.4.25 120 11/1/2025
3.4.24 159 10/31/2025
3.2.23 114 10/18/2025
3.2.22 144 10/17/2025
3.2.21 141 10/17/2025
3.2.20 186 10/14/2025
3.2.19 197 9/30/2025
3.2.18 164 9/12/2025
3.2.17 257 9/7/2025
3.2.16 197 9/3/2025
3.2.15 196 9/3/2025
3.2.14 194 9/2/2025
3.2.13 185 9/2/2025
3.2.12 185 9/1/2025
3.2.11 200 9/1/2025
Loading failed