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
                    
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="StorageFlow.Extension.Redis" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StorageFlow.Extension.Redis" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="StorageFlow.Extension.Redis" />
                    
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 StorageFlow.Extension.Redis --version 1.0.0
                    
#r "nuget: StorageFlow.Extension.Redis, 1.0.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 StorageFlow.Extension.Redis@1.0.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=StorageFlow.Extension.Redis&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=StorageFlow.Extension.Redis&version=1.0.0
                    
Install as a Cake Tool

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 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. 
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
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