![]() |
VOOZH | about |
dotnet add package Foundatio.Redis --version 13.0.1
NuGet\Install-Package Foundatio.Redis -Version 13.0.1
<PackageReference Include="Foundatio.Redis" Version="13.0.1" />
<PackageVersion Include="Foundatio.Redis" Version="13.0.1" />Directory.Packages.props
<PackageReference Include="Foundatio.Redis" />Project file
paket add Foundatio.Redis --version 13.0.1
#r "nuget: Foundatio.Redis, 13.0.1"
#:package Foundatio.Redis@13.0.1
#addin nuget:?package=Foundatio.Redis&version=13.0.1Install as a Cake Addin
#tool nuget:?package=Foundatio.Redis&version=13.0.1Install as a Cake Tool
๐ Build status
๐ NuGet Version
๐ feedz.io
๐ Discord
Pluggable foundation blocks for building loosely coupled distributed apps.
| 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 |
dotnet add package Foundatio.Redis
// Caching
var muxer = await ConnectionMultiplexer.ConnectAsync("localhost");
ICacheClient cache = new RedisCacheClient(o => o.ConnectionMultiplexer(muxer));
await cache.SetAsync("user:123", user, TimeSpan.FromMinutes(5));
var cached = await cache.GetAsync<User>("user:123");
// Queuing
IQueue<WorkItem> queue = new RedisQueue<WorkItem>(o => o.ConnectionMultiplexer(muxer));
await queue.EnqueueAsync(new WorkItem { Data = "Hello" });
var entry = await queue.DequeueAsync();
// Messaging
IMessageBus messageBus = new RedisMessageBus(o => o.Subscriber(muxer.GetSubscriber()));
await messageBus.PublishAsync(new MyMessage { Data = "Hello" });
// File Storage
IFileStorage storage = new RedisFileStorage(o => o.ConnectionMultiplexer(muxer));
await storage.SaveFileAsync("docs/readme.txt", "Hello World");
| Provider | Caching | Queues | Messaging | Storage | Locks |
|---|---|---|---|---|---|
| In-Memory | โ | โ | โ | โ | โ |
| Redis | โ | โ | โ | โ | โ |
| Azure Storage | โ | โ | |||
| Azure Service Bus | โ | โ | |||
| AWS (S3/SQS/SNS) | โ | โ | โ | ||
| RabbitMQ | โ | ||||
| Kafka | โ | ||||
| Minio | โ | ||||
| Aliyun | โ | ||||
| SFTP | โ |
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.Redis --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>
Contributions are welcome! Please feel free to submit a Pull Request. See our documentation for development guidelines.
Development Setup:
Foundatio.Redis.slnx in Visual Studio or VS Codedotnet build to builddotnet test to run testsApache 2.0 License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Foundatio.Redis:
| Package | Downloads |
|---|---|
|
SoftwarePioniere.Fx.Redis
Package Description |
|
|
Neolution.Extensions.Caching.RedisHybrid
Package Description |
|
|
SoftwarePioniere.Foundatio.Redis
Software Pioniere Fx Foundatio Redis Extensions |
|
|
HttpRequester
Multiple http clients |
|
|
Permian.Dal
Package Description |
Showing the top 1 popular GitHub repositories that depend on Foundatio.Redis:
| Repository | Stars |
|---|---|
|
exceptionless/Exceptionless
Exceptionless application
|
| Version | Downloads | Last Updated |
|---|---|---|
| 13.0.1 | 7,980 | 5/9/2026 |
| 13.0.0 | 1,451 | 4/25/2026 |
| 13.0.0-beta6 | 212 | 4/15/2026 |
| 13.0.0-beta3 | 3,911 | 2/14/2026 |
| 13.0.0-beta1 | 349 | 1/12/2026 |
| 12.0.0 | 66,205 | 8/20/2025 |
| 11.1.0 | 29,209 | 5/9/2025 |
| 11.0.8 | 40,298 | 2/1/2025 |
| 11.0.6 | 32,084 | 11/26/2024 |
| 11.0.5 | 20,085 | 9/28/2024 |
| 11.0.4 | 10,645 | 9/27/2024 |
| 11.0.2 | 24,365 | 8/31/2024 |
| 10.7.1 | 5,559,761 | 3/27/2024 |
| 10.7.0 | 133,841 | 1/5/2024 |
| 10.6.1 | 293,206 | 6/23/2023 |
| 10.6.0 | 332,526 | 1/1/2023 |
| 10.5.0 | 80,257 | 5/18/2022 |
| 10.4.0 | 29,654 | 3/8/2022 |
| 10.3.0 | 15,816 | 1/20/2022 |
| 10.2.3 | 176,821 | 9/24/2021 |