Niobium.Platform.ServiceBus 4.0.34

There is a newer version of this package available.
See the version list below for details.
dotnet add package Niobium.Platform.ServiceBus --version 4.0.34
                    
NuGet\Install-Package Niobium.Platform.ServiceBus -Version 4.0.34
                    
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="4.0.34" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Niobium.Platform.ServiceBus" Version="4.0.34" />
                    
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 4.0.34
                    
#r "nuget: Niobium.Platform.ServiceBus, 4.0.34"
                    
#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@4.0.34
                    
#: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=4.0.34
                    
Install as a Cake Addin
#tool nuget:?package=Niobium.Platform.ServiceBus&version=4.0.34
                    
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 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
4.2.66 83 9/4/2026
4.0.64 87 9/4/2026
4.0.60 113 8/30/2026
4.0.56 183 8/29/2026
4.0.55 98 8/28/2026
4.0.42 322 7/18/2026
4.0.37 118 7/17/2026
4.0.35 115 7/17/2026
4.0.34 132 7/17/2026
4.0.33 112 7/16/2026
4.0.32 208 7/2/2026
3.4.30 207 12/22/2025
3.4.29 314 11/11/2025
3.4.28 214 11/2/2025
3.4.27 150 11/1/2025
3.4.26 151 11/1/2025
3.4.25 147 11/1/2025
3.4.24 187 10/31/2025
3.2.23 139 10/18/2025
3.2.22 172 10/17/2025
Loading failed