FlowX.Azure.ServiceBus
9.0.0
dotnet add package FlowX.Azure.ServiceBus --version 9.0.0
NuGet\Install-Package FlowX.Azure.ServiceBus -Version 9.0.0
<PackageReference Include="FlowX.Azure.ServiceBus" Version="9.0.0" />
<PackageVersion Include="FlowX.Azure.ServiceBus" Version="9.0.0" />
<PackageReference Include="FlowX.Azure.ServiceBus" />
paket add FlowX.Azure.ServiceBus --version 9.0.0
#r "nuget: FlowX.Azure.ServiceBus, 9.0.0"
#:package FlowX.Azure.ServiceBus@9.0.0
#addin nuget:?package=FlowX.Azure.ServiceBus&version=9.0.0
#tool nuget:?package=FlowX.Azure.ServiceBus&version=9.0.0
FlowX.Azure.ServiceBus
FlowX.Azure.ServiceBus is an extension package for FlowX that integrates with Azure ServiceBus, providing a seamless way to handle message-based communication using FlowX’s Request Flow patterns. This package is ideal for distributed applications that require reliable event-driven architecture.
Features
- Enables communication via Azure ServiceBus in FlowX.
- Supports request-response and event-driven patterns.
- Leverages FlowX’s fluent API for seamless integration.
Prerequisites
Prerequisites
Ensure you have the following installed:
- .NET 8.0 or higher
- Azure.Messaging.ServiceBus
Installation
To install the FlowX package, use the following NuGet command:
dotnet add package FlowX.Azure.ServiceBus
Or via the NuGet Package Manager:
Install-Package FlowX.Azure.ServiceBus
Usage
1. Register FlowX.Azure.ServiceBus in the Dependency Injection Container
Add FlowX.Nats to your service configuration:
builder.Services.AddFlowX(options =>
{
options.AddModelsFromNamespaceContaining<IAssemblyMarker>();
options.AddHandlersFromNamespaceContaining<IAssemblyMarker>();
options.AddDbContextDynamic<Service1DbContext>(opts =>
{
opts.AddDynamicRepositories();
opts.AddDynamicUnitOfWork();
});
options.AddAzureServiceBus(cfg => cfg.Host("SensitiveConnectionString"));
});
Method descriptions
AddAzureServiceBus: Add AddAzureServiceBus config, you have to locate the host Url, you can also config the Prefix
for AzureServiceBus.
2. Sending Requests via Azure ServiceBus
var sender = ServiceProvider.GetRequiredService<IFlow>();
var response = await sender.Send(new GetProvinces());
Acts as FlowX, you don't need to care about the behind the scene. FlowX handle the RPC request for you!
Enjoy your moment!
| Package Name | Description | .NET Version | Document |
|---|---|---|---|
| FlowX | FlowX core | 8.0, 9.0 | ReadMe |
| Data Provider | |||
| FlowX.EntityFrameworkCore | This is the FlowX extension package using EntityFramework to fetch data | 8.0, 9.0 | ReadMe |
| Transports | |||
| FlowX.Nats | FlowX.Nats is an extension package for FlowX that leverages Nats for efficient data transportation. | 8.0, 9.0 | ReadMe |
| FlowX.Azure.ServiceBus | FlowX.Azure.ServiceBus is an extension package for FlowX that leverages Azure ServiceBus for efficient data transportation. | 8.0, 9.0 | This Document |
| Product | Versions 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. |
-
net8.0
- Azure.Messaging.ServiceBus (>= 7.20.1)
- FlowX (>= 9.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
-
net9.0
- Azure.Messaging.ServiceBus (>= 7.20.1)
- FlowX (>= 9.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
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.0 | 78 | 3/8/2026 |
| 8.0.0 | 99 | 1/20/2026 |
| 7.0.5 | 107 | 1/8/2026 |
| 7.0.4 | 181 | 12/23/2025 |
| 7.0.3 | 223 | 12/14/2025 |
| 7.0.2 | 154 | 12/14/2025 |
| 7.0.1 | 433 | 12/11/2025 |
| 7.0.0 | 304 | 11/11/2025 |
| 6.0.7 | 211 | 10/30/2025 |
| 6.0.6 | 208 | 10/29/2025 |
| 6.0.5 | 203 | 10/22/2025 |
| 6.0.4 | 192 | 10/21/2025 |
| 6.0.3 | 201 | 10/20/2025 |
| 6.0.2 | 181 | 10/17/2025 |