RuoVea.ExCache
6.0.5.3
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 RuoVea.ExCache --version 6.0.5.3
NuGet\Install-Package RuoVea.ExCache -Version 6.0.5.3
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="RuoVea.ExCache" Version="6.0.5.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.ExCache --version 6.0.5.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.ExCache, 6.0.5.3"
#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 RuoVea.ExCache as a Cake Addin #addin nuget:?package=RuoVea.ExCache&version=6.0.5.3 // Install RuoVea.ExCache as a Cake Tool #tool nuget:?package=RuoVea.ExCache&version=6.0.5.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RuoVea.ExCache
介绍
缓存帮助类库
使用示例
// 写入值
bool bolset = ExCache.CacheOptions.CaChe.Write("demo", "assadasdasdasdasdasas");
// 获取值
var getValue = ExCache.CacheOptions.CaChe.Read("demo");
// 获取值无则用表达式写入
CacheFactery.CaChe.Cof_ReadWrite<string>("permission_142307070910551", () => { return "获取值"; }, new TimeSpan(3));
相关配置文件
{
/* 缓存配置 */
"Cache": {
"Prefix": "RuoVea", /* 前缀 */
"CacheType": "MemoryCache", // RedisCache、MemoryCache
"RedisConnectionString": "127.0.0.1:6379,password=,defaultDatabase=2"
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- CSRedisCore (>= 3.8.802)
- Microsoft.Extensions.Caching.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Caching.Memory (>= 7.0.0)
- RuoVea.ExConfig (>= 6.0.1.6)
- System.Security.Cryptography.Pkcs (>= 6.0.4)
- System.Security.Cryptography.Xml (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RuoVea.ExCache:
Package | Downloads |
---|---|
RuoVea.ExSugar
Sqlsugar扩展 快速注入,支持简体中文、繁体中文、粤语、日语、法语、英语.使用方式:service.AddSqlsugar();继承RestFulLog 重写异常日志,操作日志,差异日志 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 212 | 8/28/2024 |
7.0.0 | 263 | 8/28/2024 |
6.0.5.3 | 2,279 | 3/13/2024 |
6.0.5.2 | 141 | 1/27/2024 |
6.0.5.1 | 231 | 11/18/2023 |
6.0.4 | 960 | 9/16/2022 |
6.0.3 | 458 | 4/14/2022 |
6.0.2 | 444 | 4/13/2022 |
6.0.1 | 428 | 4/13/2022 |
6.0.0 | 575 | 2/9/2022 |
5.0.4.1 | 211 | 8/28/2024 |
5.0.4 | 579 | 11/19/2021 |
5.0.3 | 488 | 11/5/2021 |
5.0.2 | 373 | 11/4/2021 |
5.0.1 | 445 | 9/30/2021 |
5.0.0 | 420 | 9/28/2021 |