C#/.NET client for Redis
Learn how to build with Redis and C#/.NET
Connect your C#/.NET application to a Redis database using the NRedisStack client library.
Overview
NRedisStack is a comprehensive .NET client library for Redis that extends StackExchange.Redis with support for all Redis data structures and capabilities. It provides strongly-typed APIs for Redis data structures and advanced features, making it ideal for modern .NET applications.
Key Features
- Redis Stack (v7.4 and earlier) and Redis 8 support: Native support for JSON, time series, and probabilistic data structures, and Redis Query Engine.
- Strongly Typed: Type-safe APIs with full IntelliSense support in Visual Studio
- Async/Await: Native asynchronous programming support for high-performance applications
- StackExchange.Redis Integration: Built on the proven StackExchange.Redis foundation
- Connection Multiplexing: Efficient connection sharing across multiple operations
- Cluster Support: Full Redis Cluster support for distributed deployments
- Pipeline Support: Command batching for improved throughput
- .NET Ecosystem: Seamless integration with ASP.NET Core, Entity Framework, and other .NET technologies
Getting Started
Refer to the complete C#/.NET guide to install, connect, and use NRedisStack.