Soenneker.Redis.Client
4.0.2296
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Redis.Client --version 4.0.2296
NuGet\Install-Package Soenneker.Redis.Client -Version 4.0.2296
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Redis.Client" Version="4.0.2296" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Redis.Client" Version="4.0.2296" />
<PackageReference Include="Soenneker.Redis.Client" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Redis.Client --version 4.0.2296
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Redis.Client, 4.0.2296"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Redis.Client@4.0.2296
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Redis.Client&version=4.0.2296
#tool nuget:?package=Soenneker.Redis.Client&version=4.0.2296
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Redis.Client
A utility library for Redis client accessibility Implements double checked locking during connect Singleton IoC.
Install
dotnet add package Soenneker.Redis.Client
Quick start
using Soenneker.Redis.Client.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddRedisClientAsSingleton();
Adds IRedisClient as a singleton service.
What you get
IRedisClient— A utility library for Redis client accessibility Implements double checked locking during connect Singleton IoC.RedisClientRegistrar— Represents the redis client registrar.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
RedisClientRegistrar.AddRedisClientAsSingleton(services) |
Adds IRedisClient as a singleton service. |
The same service collection, so additional registrations can be chained. |
RedisClientRegistrar.AddRedisClientAsScoped(services) |
Registers Redis Client with a scoped lifetime. | The same service collection, so additional registrations can be chained. |
Practical notes
- Reuse the registered client instead of constructing one per operation.
- Calls that return a cached or singleton value reuse the same instance until the owning service is disposed.
- Dispose instances you own when their scope ends so held resources can be released.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.Dictionaries.Singletons (>= 4.0.81)
- Soenneker.Extensions.Configuration (>= 4.0.861)
- StackExchange.Redis (>= 3.1.31)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Soenneker.Redis.Client:
| Package | Downloads |
|---|---|
|
Soenneker.Redis.Util
The general purpose utility library leveraging Redis for all of your caching needs |
|
|
Soenneker.Redis.Client.Server
A utility library for Redis server client accessibility |
|
|
Soenneker.Deduplication.Redis
Distributed duplicate suppression backed by Redis. |
|
|
Soenneker.Redis.Dump
Redis database export, import, and copy utilities for .NET |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.2299 | 0 | 8/30/2026 |
| 4.0.2298 | 0 | 8/30/2026 |
| 4.0.2297 | 0 | 8/29/2026 |
| 4.0.2296 | 7 | 8/29/2026 |
| 4.0.2295 | 35 | 8/29/2026 |
| 4.0.2294 | 450 | 8/26/2026 |
| 4.0.2293 | 214 | 8/26/2026 |
| 4.0.2292 | 182 | 8/26/2026 |
| 4.0.2291 | 661 | 8/22/2026 |
| 4.0.2290 | 519 | 8/21/2026 |
| 4.0.2289 | 482 | 8/21/2026 |
| 4.0.2288 | 940 | 8/18/2026 |
| 4.0.2287 | 313 | 8/18/2026 |
| 4.0.2286 | 1,289 | 8/13/2026 |
| 4.0.2285 | 204 | 8/13/2026 |
| 4.0.2284 | 365 | 8/12/2026 |
| 4.0.2283 | 466 | 8/9/2026 |
| 4.0.2282 | 557 | 8/8/2026 |
| 4.0.2281 | 265 | 8/8/2026 |
| 4.0.2280 | 403 | 8/8/2026 |
Loading failed
Improve README usability and API guidance