# CSRedis

> .NET client for Redis, Redis Sentinel and Redis Cluster

Source: https://talira.ai/catalog/csredis-bgw2ypdx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / drivers](https://talira.ai/categories/libraries/databases/drivers), [languages / dotnet](https://talira.ai/categories/languages/dotnet)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^2]
- Backed by: [Ye (2881099)](https://talira.ai/orgs/ye-2881099.md)

CSRedis is a Redis client for .NET Core and .NET Framework 4.0+, with synchronous and asynchronous methods named like the redis-cli commands. It supports a single server, Redis Sentinel with master and replica, Redis Cluster (following MOVED and ASK redirects), client-side partitioning across servers, connection pooling, pipelines, pub/sub, geo commands and streams. The RedisHelper static class wraps a singleton client, and the separate Caching.CSRedis package provides an IDistributedCache for ASP.NET Core. Install it from NuGet as CSRedisCore. Much of the README is in Chinese.

## Links

- GitHub: https://github.com/2881099/csredis

## Problems it solves

- connect an ASP.NET Core app to Redis Sentinel with automatic failover
- use Redis as IDistributedCache in .NET with a simple static helper
- talk to a Redis Cluster from a .NET Framework 4 app

## Features

- sync and async methods named after redis-cli commands
- Redis Sentinel and Redis Cluster
- client-side partitioning
- connection pooling and pipelines
- pub/sub, geo and stream commands
- IDistributedCache package for ASP.NET Core

## Limitations

- Much of the README is in Chinese.[^1]

## Trust

Overall: 0.43 out of 1.
Signals: maintenance 0.47, adoption 0.66, momentum 0.38, community 0.53, backing 0.30, extensibility 0.00.

- last commit 45 days ago
- 3 commits in the last 90 days
- latest release v3.8.668 4.2 years ago
- 2.1k GitHub stars
- 20 contributors
- backed by Ye (2881099)

## Related

- Works with [Redis](https://talira.ai/catalog/redis-v917j45s.md)

## Alternatives

- [StackExchange.Redis](https://talira.ai/catalog/stackexchange-redis-zdqjn90y.md): The Redis client for .NET

## Sources

[^1]: https://github.com/2881099/csredis (checked 28 Nov 2026)
[^2]: https://github.com/2881099/csredis/blob/master/LICENSE (checked 28 Nov 2026)
