IdentityFlow.Security.RateLimiting.StackExchangeRedis
0.1.0-alpha.20260620122408
See the version list below for details.
dotnet add package IdentityFlow.Security.RateLimiting.StackExchangeRedis --version 0.1.0-alpha.20260620122408
NuGet\Install-Package IdentityFlow.Security.RateLimiting.StackExchangeRedis -Version 0.1.0-alpha.20260620122408
<PackageReference Include="IdentityFlow.Security.RateLimiting.StackExchangeRedis" Version="0.1.0-alpha.20260620122408" />
<PackageVersion Include="IdentityFlow.Security.RateLimiting.StackExchangeRedis" Version="0.1.0-alpha.20260620122408" />
<PackageReference Include="IdentityFlow.Security.RateLimiting.StackExchangeRedis" />
paket add IdentityFlow.Security.RateLimiting.StackExchangeRedis --version 0.1.0-alpha.20260620122408
#r "nuget: IdentityFlow.Security.RateLimiting.StackExchangeRedis, 0.1.0-alpha.20260620122408"
#:package IdentityFlow.Security.RateLimiting.StackExchangeRedis@0.1.0-alpha.20260620122408
#addin nuget:?package=IdentityFlow.Security.RateLimiting.StackExchangeRedis&version=0.1.0-alpha.20260620122408&prerelease
#tool nuget:?package=IdentityFlow.Security.RateLimiting.StackExchangeRedis&version=0.1.0-alpha.20260620122408&prerelease
IdentityFlow.Security.RateLimiting.StackExchangeRedis
Atomic Redis-backed rate limiting for IdentityFlow.
services.AddSingleton<IConnectionMultiplexer>(
ConnectionMultiplexer.Connect("localhost:6379"));
services.AddIdentityFlowStackExchangeRedisRateLimiting(
options => options.Policies["sign_in"] = new(5, TimeSpan.FromMinutes(15)),
redis => redis.EnableManagementStore = true);
Management search/reset returns only policy names plus SHA-256 bucket hashes, never raw partition keys. By default it uses Redis key scanning; leave EnableManagementStore disabled when the Redis server policy does not permit SCAN.
Set EnableManagementIndexes = true to maintain sorted-set indexes for all buckets, stable paging order, policy buckets, exceeded buckets, and bucket-hash lookup. Indexed management queries read indexed buckets incrementally; reset or backfill active buckets with an app-specific Redis maintenance job if enabling indexes after buckets already exist.
For large deployments, request management pages with IncludeTotalCount = false when a count is not needed. Counted pages must walk matching buckets to produce the count. Non-indexed scan fallback is capped to a bounded number of scanned keys per request and should be treated as an operational fallback, not the preferred production management path.
| Product | Versions 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. |
-
net10.0
- IdentityFlow.Security.RateLimiting (>= 0.1.0-alpha.20260620122408)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
- StackExchange.Redis (>= 3.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 |
|---|---|---|
| 0.1.0-alpha.20260620175120 | 57 | 6/20/2026 |
| 0.1.0-alpha.20260620172859 | 59 | 6/20/2026 |
| 0.1.0-alpha.20260620170646 | 62 | 6/20/2026 |
| 0.1.0-alpha.20260620143000 | 59 | 6/20/2026 |
| 0.1.0-alpha.20260620135000 | 55 | 6/20/2026 |
| 0.1.0-alpha.20260620122408 | 57 | 6/20/2026 |
| 0.1.0-alpha.20260614215234 | 57 | 6/14/2026 |