StackExchange.Redis.Extensions — high-level Redis client with serialization, pooling, and typed APIs NuGet Package

StackExchange.Redis.Extensions is a library that extends StackExchange.Redis with higher-level APIs for common application scenarios.

Compatible with StackExchange.Redis 2.x and 3.x.

Features:
- Store and retrieve complex .NET objects with pluggable serialization
- Connection pooling with LeastLoaded and RoundRobin strategies
- Pub/Sub messaging with typed handlers and error logging
- Redis Streams with consumer group support
- GeoSpatial indexes (GEOADD, GEOSEARCH, GEODIST)
- HyperLogLog for probabilistic cardinality estimation
- Distributed locking with IAsyncDisposable auto-release
- Bitmap operations for analytics and feature flags
- Lua scripting for atomic server-side operations
- Hash field expiry (Redis 7.4+ HEXPIRE/HSETEX)
- Transparent compression (LZ4, Snappy, Zstd, GZip, Brotli)
- Azure Managed Identity support
- ASP.NET Core DI integration
- Multiple named Redis instances
- Tags, Sets, Lists, Sorted Sets, key search

Serializer packages (pick one): System.Text.Json, Newtonsoft, MemoryPack, MsgPack, Protobuf, ServiceStack, Utf8Json.




Got any StackExchange.Redis.Extensions — high-level Redis client with serialization, pooling, and typed APIs Question?





Info

Version: 13.0.1
Author(s): Ugo Lattanzi
Last Update: Monday, August 3, 2026
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/imperugo/StackExchange.Redis.Extensions
NuGet Url: https://www.nuget.org/packages/StackExchange.Redis.Extensions.Core


Install
Install-Package StackExchange.Redis.Extensions.Core
dotnet add package StackExchange.Redis.Extensions.Core
paket add StackExchange.Redis.Extensions.Core
StackExchange.Redis.Extensions.Core Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

4.8

avg-downloads-per-day

10341

days-since-last-release

48