Soenneker.Redis.Client
4.0.2297
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Redis.Client --version 4.0.2297
NuGet\Install-Package Soenneker.Redis.Client -Version 4.0.2297
<PackageReference Include="Soenneker.Redis.Client" Version="4.0.2297" />
<PackageVersion Include="Soenneker.Redis.Client" Version="4.0.2297" />
<PackageReference Include="Soenneker.Redis.Client" />
paket add Soenneker.Redis.Client --version 4.0.2297
#r "nuget: Soenneker.Redis.Client, 4.0.2297"
#:package Soenneker.Redis.Client@4.0.2297
#addin nuget:?package=Soenneker.Redis.Client&version=4.0.2297
#tool nuget:?package=Soenneker.Redis.Client&version=4.0.2297
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. |
-
net10.0
- Soenneker.Dictionaries.Singletons (>= 4.0.83)
- 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.2312 | 0 | 9/5/2026 |
| 4.0.2311 | 0 | 9/4/2026 |
| 4.0.2310 | 36 | 9/4/2026 |
| 4.0.2309 | 35 | 9/4/2026 |
| 4.0.2308 | 100 | 9/4/2026 |
| 4.0.2307 | 601 | 9/1/2026 |
| 4.0.2306 | 277 | 8/31/2026 |
| 4.0.2305 | 432 | 8/31/2026 |
| 4.0.2304 | 358 | 8/31/2026 |
| 4.0.2303 | 398 | 8/30/2026 |
| 4.0.2302 | 78 | 8/30/2026 |
| 4.0.2301 | 152 | 8/30/2026 |
| 4.0.2300 | 202 | 8/30/2026 |
| 4.0.2299 | 555 | 8/30/2026 |
| 4.0.2298 | 112 | 8/30/2026 |
| 4.0.2297 | 276 | 8/29/2026 |
| 4.0.2296 | 126 | 8/29/2026 |
| 4.0.2295 | 119 | 8/29/2026 |
| 4.0.2294 | 1,326 | 8/26/2026 |
| 4.0.2293 | 283 | 8/26/2026 |
Update dependency Soenneker.Dictionaries.Singletons to 4.0.83 (#3005)