StorageFlow.Extension.Redis
1.0.0
dotnet add package StorageFlow.Extension.Redis --version 1.0.0
NuGet\Install-Package StorageFlow.Extension.Redis -Version 1.0.0
<PackageReference Include="StorageFlow.Extension.Redis" Version="1.0.0" />
<PackageVersion Include="StorageFlow.Extension.Redis" Version="1.0.0" />
<PackageReference Include="StorageFlow.Extension.Redis" />
paket add StorageFlow.Extension.Redis --version 1.0.0
#r "nuget: StorageFlow.Extension.Redis, 1.0.0"
#:package StorageFlow.Extension.Redis@1.0.0
#addin nuget:?package=StorageFlow.Extension.Redis&version=1.0.0
#tool nuget:?package=StorageFlow.Extension.Redis&version=1.0.0
StorageFlow.Extension.Redis
Optional Redis and IDistributedCache integration for caching StorageFlow
presigned URLs. StorageFlow works without this package.
Redis is not used for uploads, downloads, delivery URLs, metadata, provider routing, or storage existence checks.
Install
dotnet add package StorageFlow.Extension.Redis
Use Redis
Register StorageFlow first, then enable the cache:
using StorageFlow.Extension.Redis;
builder.Services
.AddStorageFlow(options =>
{
// Register providers and presigned URL policies.
})
.UseRedisPresignedUrlCache(redis =>
{
redis.ConnectionString =
builder.Configuration.GetConnectionString("Redis")!;
redis.KeyPrefix = "storageflow:presigned:";
});
Keep the connection string in a secret provider. When an application already
registers IDistributedCache, reuse it instead:
builder.Services.UseDistributedPresignedUrlCache(redis =>
{
redis.KeyPrefix = "storageflow:presigned:";
});
Cache entries are separated by provider, bucket, object key, and typed
presigned URL policy. By default, cache expiration mirrors the policy URL
lifetime. An optional AbsoluteExpiration value can override that TTL; choose
an override that does not outlive the generated URL.
See the StorageFlow.Core user guide
and GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net9.0
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- StackExchange.Redis (>= 2.13.17)
- StorageFlow.Abstractions (>= 1.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 |
|---|---|---|
| 1.0.0 | 132 | 6/24/2026 |
| 1.0.0-rc.2 | 69 | 6/23/2026 |
| 1.0.0-rc.1 | 74 | 6/23/2026 |