talira

StackExchange.Redis

The Redis client for .NET

open sourceMITfree

StackExchange.Redis is a high-performance .NET client for Redis and other servers that speak RESP, such as Valkey, Garnet, Azure Managed Redis and AWS ElastiCache, with both synchronous and asynchronous APIs. It's on NuGet under the MIT licence. Its repository is now in the seredis organization on GitHub (the old StackExchange/StackExchange.Redis address redirects there), and its documentation is at seredis.dev.

Problems it solves

  • connect my C# app to Redis
  • use Valkey or Azure Managed Redis from a .NET service
  • make async Redis calls from ASP.NET Core

Features

  • Redis client for .NET with sync and async APIs
  • works with RESP servers: Redis, Valkey, Garnet, Azure Managed Redis, ElastiCache
  • on NuGet

Alternatives

The same job

These do what StackExchange.Redis does.

  1. CSRedis .NET client for Redis, Redis Sentinel and Redis Cluster
  2. MySQL Connector/NET Oracle's official ADO.NET driver for MySQL
  3. Npgsql Open source .NET data provider for PostgreSQL

Compare StackExchange.Redis with the top 3