Dosaic.Plugins.Caching.Redis
1.0.26
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 Dosaic.Plugins.Caching.Redis --version 1.0.26
NuGet\Install-Package Dosaic.Plugins.Caching.Redis -Version 1.0.26
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="Dosaic.Plugins.Caching.Redis" Version="1.0.26" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dosaic.Plugins.Caching.Redis --version 1.0.26
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dosaic.Plugins.Caching.Redis, 1.0.26"
#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.
// Install Dosaic.Plugins.Caching.Redis as a Cake Addin #addin nuget:?package=Dosaic.Plugins.Caching.Redis&version=1.0.26 // Install Dosaic.Plugins.Caching.Redis as a Cake Tool #tool nuget:?package=Dosaic.Plugins.Caching.Redis&version=1.0.26
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dosaic.Plugins.Caching.Redis
Dosaic.Plugins.Caching.Redis is a plugin
that allows other Dosaic components
to use distributed cache with redis
.
Installation
To install the nuget package follow these steps:
dotnet add package Dosaic.Plugins.Caching.Redis
or add as package reference to your .csproj
<PackageReference Include="Dosaic.Plugins.Caching.Redis" Version="" />
Appsettings.yml
Configure your appsettings.yml with these properties
Postgres for example
redisCache:
connectionString: "localhost:6379"
Usage
internal class TestService(IDistributedCache cache)
{
public async Task DoStuff()
{
await cache.SetStringAsync("key", "value");
var value = await cache.GetStringAsync("key");
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- AspNetCore.HealthChecks.Redis (>= 9.0.0)
- Dosaic.Hosting.Abstractions (>= 1.0.26)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 9.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.