RuoVea.ExCache 8.0.0

dotnet add package RuoVea.ExCache --version 8.0.0                
NuGet\Install-Package RuoVea.ExCache -Version 8.0.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="RuoVea.ExCache" Version="8.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.ExCache --version 8.0.0                
#r "nuget: RuoVea.ExCache, 8.0.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 RuoVea.ExCache as a Cake Addin
#addin nuget:?package=RuoVea.ExCache&version=8.0.0

// Install RuoVea.ExCache as a Cake Tool
#tool nuget:?package=RuoVea.ExCache&version=8.0.0                

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 218 8/28/2024
7.0.0 269 8/28/2024
6.0.5.3 2,966 3/13/2024
6.0.5.2 146 1/27/2024
6.0.5.1 236 11/18/2023
6.0.4 965 9/16/2022
6.0.3 463 4/14/2022
6.0.2 449 4/13/2022
6.0.1 435 4/13/2022
6.0.0 580 2/9/2022
5.0.4.1 217 8/28/2024
5.0.4 584 11/19/2021
5.0.3 493 11/5/2021
5.0.2 378 11/4/2021
5.0.1 450 9/30/2021
5.0.0 425 9/28/2021