jfYu.Core.Redis
8.1.0
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 jfYu.Core.Redis --version 8.1.0
NuGet\Install-Package jfYu.Core.Redis -Version 8.1.0
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="jfYu.Core.Redis" Version="8.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add jfYu.Core.Redis --version 8.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: jfYu.Core.Redis, 8.1.0"
#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 jfYu.Core.Redis as a Cake Addin #addin nuget:?package=jfYu.Core.Redis&version=8.1.0 // Install jfYu.Core.Redis as a Cake Tool #tool nuget:?package=jfYu.Core.Redis&version=8.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
redis
Install
Install-Package jfYu.Core.Redis
Configure
"Redis": {
"EndPoints": [
{
"Host": "127.0.0.1",
"Port": 6379
}
],
"Password": "Password",
"DbIndex": 0,
"Timeout": 5000,
"Ssl": false
}
//injection
services.AddRedisService(options =>
{
options.EndPoints.Add(new RedisEndPoint { Host = "localhost" });
options.SSL = false;
options.DbIndex = 1;
options.Prefix = "Mytest:";
options.EnableLogs = true;
}).UsingNewtonsoft(options =>
{
options.MaxDepth = 12;
});
await _redisService.AddAsync("key", "value");
await _redisService.GetAsync("key");
await _redisService.RemoveAsync("key");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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.
-
net8.0
- MessagePack (>= 2.5.192)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- StackExchange.Redis (>= 2.7.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.