DKNet.AspCore.Idempotency.RedisStore 10.1.12

dotnet add package DKNet.AspCore.Idempotency.RedisStore --version 10.1.12
                    
NuGet\Install-Package DKNet.AspCore.Idempotency.RedisStore -Version 10.1.12
                    
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="DKNet.AspCore.Idempotency.RedisStore" Version="10.1.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DKNet.AspCore.Idempotency.RedisStore" Version="10.1.12" />
                    
Directory.Packages.props
<PackageReference Include="DKNet.AspCore.Idempotency.RedisStore" />
                    
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 DKNet.AspCore.Idempotency.RedisStore --version 10.1.12
                    
#r "nuget: DKNet.AspCore.Idempotency.RedisStore, 10.1.12"
                    
#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 DKNet.AspCore.Idempotency.RedisStore@10.1.12
                    
#: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=DKNet.AspCore.Idempotency.RedisStore&version=10.1.12
                    
Install as a Cake Addin
#tool nuget:?package=DKNet.AspCore.Idempotency.RedisStore&version=10.1.12
                    
Install as a Cake Tool

DKNet.AspCore.Idempotency.RedisStore

NuGet License: MIT

A Redis-backed idempotency key store for DKNet.AspCore.Idempotency. Implements the store contract directly against StackExchange.Redis — no schema, no migrations, and expiry falls out of Redis's own TTL.

Features

  • Atomic request reservation via SET NX — exactly one concurrent caller per idempotency key proceeds
  • SHA-256 hashed, prefixed Redis keys so distinct composite keys never collide
  • Native TTL-based expiry for both in-flight reservations and completed responses
  • Reuses an existing IConnectionMultiplexer/IDistributedCache, or registers its own from a connection string

Installation

dotnet add package DKNet.AspCore.Idempotency.RedisStore

Quick Start

builder.Services.AddIdempotencyWithRedisStore(
    builder.Configuration.GetConnectionString("Redis")!,
    options =>
    {
        options.Expiration = TimeSpan.FromHours(48);
    });

Documentation

Full feature reference: https://github.com/baoduy/DKNet/blob/main/docs/AspNetCore/DKNet.AspCore.Idempotency.RedisStore.md

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Developed by Steven Hoang.

Product Compatible and additional computed target framework versions.
.NET 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.

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
10.1.12 36 8/25/2026
10.1.11 46 8/24/2026
10.1.10 55 8/22/2026
10.1.9 63 8/22/2026
10.1.8 49 8/21/2026
10.1.7 64 8/21/2026
10.1.6 50 8/21/2026
10.1.5 57 8/20/2026
10.1.4 55 8/20/2026
10.1.3 57 8/19/2026
10.1.2 55 8/19/2026
10.1.1 52 8/19/2026
10.0.36 62 8/18/2026