Respire.Caching
2.0.0-rc.2000
Prefix Reserved
This is a prerelease version of Respire.Caching.
dotnet add package Respire.Caching --version 2.0.0-rc.2000
NuGet\Install-Package Respire.Caching -Version 2.0.0-rc.2000
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="Respire.Caching" Version="2.0.0-rc.2000" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Respire.Caching" Version="2.0.0-rc.2000" />
<PackageReference Include="Respire.Caching" />
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 Respire.Caching --version 2.0.0-rc.2000
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Respire.Caching, 2.0.0-rc.2000"
#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 Respire.Caching@2.0.0-rc.2000
#: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=Respire.Caching&version=2.0.0-rc.2000&prerelease
#tool nuget:?package=Respire.Caching&version=2.0.0-rc.2000&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Respire.Caching
Redis-backed IDistributedCache and IBufferDistributedCache implementations.
Install
dotnet add package Respire.Caching
dotnet add package Microsoft.Extensions.DependencyInjection
Usage
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using Respire.Caching;
var services = new ServiceCollection();
services.AddRespireDistributedCache("redis://localhost:6379", instanceName: "myapp:");
await using var provider = services.BuildServiceProvider();
var cache = provider.GetRequiredService<IDistributedCache>();
await cache.SetStringAsync("greeting", "hello");
Console.WriteLine(await cache.GetStringAsync("greeting"));
Read the guide for configuration, requirements, and further examples.
| 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. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.Caching.Abstractions (>= 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Options (>= 11.0.0)
- Respire (= 2.0.0-rc.2000)
-
net11.0
- Respire (= 2.0.0-rc.2000)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Respire.Caching:
| Package | Downloads |
|---|---|
|
Respire.Caching.Hybrid
HybridCache Redis backend and opt-in server-assisted L1 coherence backed by Respire. |
|
|
Respire.Aspire.DistributedCaching
Distributed caching on an existing default or keyed Aspire Respire client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-rc.2000 | 0 | 11/23/2026 |
| 2.0.0-rc.1779 | 76 | 11/15/2026 |
| 0.13.3 | 5,643 | 11/10/2026 |
| 0.13.0 | 116 | 11/10/2026 |
| 0.12.0 | 4,240 | 10/26/2026 |
| 0.11.0 | 125 | 10/21/2026 |
| 0.10.0 | 124 | 10/16/2026 |
| 0.9.0 | 119 | 10/15/2026 |
| 0.8.2 | 121 | 10/13/2026 |
| 0.8.0 | 109 | 10/12/2026 |
| 0.7.19 | 141 | 10/5/2026 |
| 0.7.14 | 127 | 10/4/2026 |
| 0.7.0 | 139 | 10/3/2026 |