OfX-Azure.ServiceBus 8.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package OfX-Azure.ServiceBus --version 8.2.0
                    
NuGet\Install-Package OfX-Azure.ServiceBus -Version 8.2.0
                    
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="OfX-Azure.ServiceBus" Version="8.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfX-Azure.ServiceBus" Version="8.2.0" />
                    
Directory.Packages.props
<PackageReference Include="OfX-Azure.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 OfX-Azure.ServiceBus --version 8.2.0
                    
#r "nuget: OfX-Azure.ServiceBus, 8.2.0"
                    
#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 OfX-Azure.ServiceBus@8.2.0
                    
#: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=OfX-Azure.ServiceBus&version=8.2.0
                    
Install as a Cake Addin
#tool nuget:?package=OfX-Azure.ServiceBus&version=8.2.0
                    
Install as a Cake Tool

OfX-Azure-ServiceBus

OfX-Azure-ServiceBus is an extension package for OfX that leverages Azure Service Bus for reliable and scalable message transportation.
This package provides a strongly-typed, cloud-native communication layer for OfX’s Attribute-based Data Mapping, enabling seamless data transfer across distributed systems using Microsoft Azure infrastructure.

The Azure Service Bus transport only supports Standard and Premium tiers of the Microsoft Azure Service Bus service. Premium tier is recommended for production environments.

Demo Project!


Introduction

Azure Service Bus-based Transport:
Implements Azure Service Bus to handle data communication between distributed OfX services, providing an enterprise-grade, secure, and scalable messaging backbone with features like topics, queues, and session management.


Installation

To install the OfX-Azure-ServiceBus package, use the following NuGet command:

dotnet add package OfX.Azure.ServiceBus

Or via the NuGet Package Manager:

Install-Package OfX.Azure.ServiceBus

How to Use

1. Register OfX-Azure-ServiceBus

Add OfX-Azure-ServiceBus to your service configuration during application startup:

Example

builder.Services.AddOfX(cfg =>
    {
        cfg.AddAttributesContainNamespaces(typeof(IKernelAssemblyMarker).Assembly);
        cfg.AddModelConfigurationsFromNamespaceContaining<IAssemblyMarker>();
        cfg.AddAzureServiceBus(c => c.Host("SensitiveConnectionString"));
    });
...

var app = builder.Build();

...

app.Run();

Note: OfX-Azure-ServiceBus uses message subjects that start with ofx-request-[OfXAttribute metadata]. You should avoid using other queues or topics with the same naming pattern.

The package supports both queue-based and topic-based messaging models.

When RequiresSession is enabled, all messages will be processed in a sessionful mode, ensuring ordered delivery.

That’s all — enjoy building your distributed system with OfX!

Package Name Description .NET Version Document
Core
OfX OfX core 8.0, 9.0 ReadMe
Data Providers
OfX-EFCore This is the OfX extension package using EntityFramework to fetch data 8.0, 9.0 ReadMe
OfX-MongoDb This is the OfX extension package using MongoDb to fetch data 8.0, 9.0 ReadMe
Integrations
OfX-HotChocolate OfX.HotChocolate is an integration package with HotChocolate for OfX. 8.0, 9.0 ReadMe
Transports
OfX-Azure.ServiceBus OfX.Azure.ServiceBus is an extension package for OfX that leverages Azure ServiceBus for efficient data transportation. 8.0, 9.0 This Document
OfX-gRPC OfX.gRPC is an extension package for OfX that leverages gRPC for efficient data transportation. 8.0, 9.0 ReadMe
OfX-Kafka OfX-Kafka is an extension package for OfX that leverages Kafka for efficient data transportation. 8.0, 9.0 ReadMe
OfX-Nats OfX-Nats is an extension package for OfX that leverages Nats for efficient data transportation. 8.0, 9.0 ReadMe
OfX-RabbitMq OfX-RabbitMq is an extension package for OfX that leverages RabbitMq for efficient data transportation. 8.0, 9.0 ReadMe

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 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
8.2.6 76 1/28/2026
8.2.5 86 1/24/2026
8.2.4 86 1/19/2026
8.2.3 91 1/18/2026
8.2.2 85 1/18/2026
8.2.1 86 1/17/2026
8.2.0 81 1/17/2026
8.1.2 90 1/13/2026
8.1.1 87 1/13/2026
8.1.0 88 1/11/2026
8.0.0 91 1/3/2026
7.2.2 272 12/18/2025
7.2.1 601 12/1/2025
7.2.0 406 11/18/2025
7.2.0-preview 410 11/18/2025
7.1.10 197 10/20/2025
7.1.9 186 10/17/2025
7.1.8 189 10/15/2025
7.1.7 191 10/15/2025