Foundatio.AzureServiceBus
13.0.0-beta2
Prefix Reserved
This is a prerelease version of Foundatio.AzureServiceBus.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Foundatio.AzureServiceBus --version 13.0.0-beta2
NuGet\Install-Package Foundatio.AzureServiceBus -Version 13.0.0-beta2
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="Foundatio.AzureServiceBus" Version="13.0.0-beta2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Foundatio.AzureServiceBus" Version="13.0.0-beta2" />
<PackageReference Include="Foundatio.AzureServiceBus" />
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 Foundatio.AzureServiceBus --version 13.0.0-beta2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Foundatio.AzureServiceBus, 13.0.0-beta2"
#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 Foundatio.AzureServiceBus@13.0.0-beta2
#: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=Foundatio.AzureServiceBus&version=13.0.0-beta2&prerelease
#tool nuget:?package=Foundatio.AzureServiceBus&version=13.0.0-beta2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Pluggable foundation blocks for building loosely coupled distributed apps.
โจ Why Choose Foundatio?
- ๐ Pluggable implementations - Swap Redis, Azure, AWS, or in-memory with no code changes
- ๐งช Developer friendly - In-memory implementations for fast local development and testing
- ๐ DI native - Built for Microsoft.Extensions.DependencyInjection
- ๐ฏ Interface-first - Code against abstractions, not implementations
- โก Production ready - Battle-tested in high-scale applications
- ๐ Consistent APIs - Same patterns across caching, queues, storage, and more
๐งฑ Core Building Blocks
| Feature | Description |
|---|---|
| Caching | In-memory, Redis, and hybrid caching with automatic invalidation |
| Queues | Reliable message queuing with Redis, Azure, AWS SQS |
| Locks | Distributed locking and throttling |
| Messaging | Pub/sub with Redis, RabbitMQ, Kafka, Azure Service Bus |
| Jobs | Background job processing with queue integration |
| File Storage | Unified file API for disk, S3, Azure Blob, and more |
| Resilience | Retry policies, circuit breakers, and timeouts |
๐ Quick Start
dotnet add package Foundatio.AzureServiceBus
// Queuing
IQueue<WorkItem> queue = new AzureServiceBusQueue<WorkItem>(o => o
.ConnectionString("Endpoint=sb://..."));
await queue.EnqueueAsync(new WorkItem { Data = "Hello" });
var entry = await queue.DequeueAsync();
// Messaging
IMessageBus messageBus = new AzureServiceBusMessageBus(o => o
.ConnectionString("Endpoint=sb://..."));
await messageBus.PublishAsync(new MyMessage { Data = "Hello" });
๐ฆ Provider Implementations
| Provider | Caching | Queues | Messaging | Storage | Locks |
|---|---|---|---|---|---|
| In-Memory | โ | โ | โ | โ | โ |
| Redis | โ | โ | โ | โ | โ |
| Azure Storage | โ | โ | |||
| Azure Service Bus | โ | โ | |||
| AWS (S3/SQS/SNS) | โ | โ | โ | ||
| RabbitMQ | โ | ||||
| Kafka | โ | ||||
| Minio | โ | ||||
| Aliyun | โ | ||||
| SFTP | โ |
๐ Learn More
Core Features
- Getting Started - Installation and setup
- Caching - In-memory, Redis, and hybrid caching with invalidation
- Queues - FIFO message delivery with lock renewal and retry policies
- Locks - Distributed locking with null handling patterns
- Messaging - Pub/sub with size limits and notification patterns
- File Storage - Unified file API across providers
- Jobs - Background job processing and hosted service integration
Advanced Topics
- Resilience - Retry policies, circuit breakers, and timeouts
- Serialization - Serializer configuration and performance
- Dependency Injection - DI setup and patterns
- Configuration - Options and settings
๐ฆ CI Packages (Feedz)
Want the latest CI build before it hits NuGet? Add the Feedz source and install the pre-release version:
dotnet nuget add source https://f.feedz.io/foundatio/foundatio/nuget -n foundatio-feedz
dotnet add package Foundatio.AzureServiceBus --prerelease
Or add to your NuGet.config:
<configuration>
<packageSources>
<add key="foundatio-feedz" value="https://f.feedz.io/foundatio/foundatio/nuget" />
</packageSources>
<packageSourceMapping>
<packageSource key="foundatio-feedz">
<package pattern="Foundatio.*" />
</packageSource>
</packageSourceMapping>
</configuration>
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request. See our documentation for development guidelines.
Development Setup:
- Clone the repository
- Open
Foundatio.AzureServiceBus.slnxin Visual Studio or VS Code - Run
dotnet buildto build - Run
dotnet testto run tests
๐ License
Apache 2.0 License
Thanks to all the people who have contributed
| 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 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 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.
-
net10.0
- Azure.Identity (>= 1.17.1)
- Azure.Messaging.ServiceBus (>= 7.20.1)
- Foundatio (>= 13.0.0-beta2)
-
net8.0
- Azure.Identity (>= 1.17.1)
- Azure.Messaging.ServiceBus (>= 7.20.1)
- Foundatio (>= 13.0.0-beta2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Foundatio.AzureServiceBus:
| Package | Downloads |
|---|---|
|
SoftwarePioniere.Fx.Hosting
Package Description |
|
|
BKGlobal.Framework.FoundatioFx
BKGlobal.Framework |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 13.0.0-beta3 | 27 | 2/14/2026 |
| 13.0.0-beta2 | 28 | 2/14/2026 |
| 13.0.0-beta1 | 85 | 1/13/2026 |
| 12.0.0 | 32,552 | 8/20/2025 |
| 11.1.0 | 2,764 | 5/9/2025 |
| 11.0.8 | 43,538 | 1/31/2025 |
| 11.0.6 | 1,590 | 11/26/2024 |
| 11.0.5 | 2,157 | 9/28/2024 |
| 11.0.4 | 247 | 9/27/2024 |
| 11.0.2 | 992 | 8/31/2024 |
| 11.0.0 | 249 | 8/31/2024 |
| 10.7.1 | 30,641 | 3/27/2024 |
| 10.7.0 | 26,943 | 1/5/2024 |
| 10.6.0 | 44,556 | 1/1/2023 |
| 10.5.0 | 23,964 | 5/18/2022 |
| 10.4.0 | 1,601 | 3/8/2022 |
| 10.3.0 | 1,535 | 1/20/2022 |
| 10.2.2 | 1,588 | 9/23/2021 |
| 10.2.0 | 48,755 | 7/8/2021 |
| 10.1.0 | 991 | 6/16/2021 |
Loading failed