# 2881099/csredis

.NET Core or .NET Framework 4.0+ client for Redis and Redis Sentinel (2.8) and Cluster. Includes both synchronous and asynchronous clients.

Repository: https://github.com/2881099/csredis
Canonical: https://ross.abutalabs.com/products/csredis
Language: C#
License: MIT
License Family: permissive
Topics: redis, csredis, redis-client, redis-cluster, redis-sentinels
Last push: 2026-07-06T06:46:37+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 91, release rhythm 8, longevity 100
- inputs: {"age_days": 3526, "days_push": 58, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2053, forks 422 (observed 2026-08-28T04:06:09.721651+00:00)

## What it is
CSRedis is a C#/.NET client library for Redis, supporting Redis Sentinel, Cluster, and standalone deployments with synchronous and asynchronous APIs. Method names mirror redis-cli, and it includes an IDistributedCache adapter for ASP.NET Core caching.

## Use cases
- connect to redis from a .net application
- use redis sentinel for high availability in c#
- connect to a redis cluster from dotnet
- use redis as distributed cache in asp.net core
- run redis commands synchronously and asynchronously in c#
- use redis geo and stream commands from .net

## When to choose
- you need a redis client for .NET Framework 4.0+ or .NET Core with Sentinel/Cluster support
- you want redis-cli-consistent method names and connection pooling
- you need an IDistributedCache implementation backed by redis

## When to avoid
- you use StackExchange.Redis already and don't need sentinel/cluster-specific features
- your stack is not .NET

## Facets
- artifact type: library
- maturity: active
- function: database-driver, caching
- domain: databases, backend, developer-tools
- platform: dotnet, cross-platform
- tags: redis-client, redis-cluster, redis-sentinel, connection-pooling, async

## Member repositories
- 2881099/csredis (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:09.721651+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:57:18.722672+00:00, confidence not recorded.
  - readme: https://github.com/2881099/csredis (fetched 2026-08-28T04:06:09.721651+00:00, sha 550f4ff95cb9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
