RuoVea.ExCache
7.0.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 RuoVea.ExCache --version 7.0.0
NuGet\Install-Package RuoVea.ExCache -Version 7.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="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RuoVea.ExCache" Version="7.0.0" />
<PackageReference Include="RuoVea.ExCache" />
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 RuoVea.ExCache --version 7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.ExCache, 7.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.
#:package RuoVea.ExCache@7.0.0
#: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=RuoVea.ExCache&version=7.0.0
#tool nuget:?package=RuoVea.ExCache&version=7.0.0
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 | net7.0 is compatible. 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. 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. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- CSRedisCore (>= 3.8.803)
- Microsoft.Extensions.Caching.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Caching.Memory (>= 8.0.0)
- RuoVea.ExConfig (>= 7.0.0)
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 |
|---|---|---|
| 10.0.0.2 | 201 | 1/26/2026 |
| 10.0.0.1 | 110 | 1/12/2026 |
| 10.0.0 | 537 | 7/25/2025 |
| 9.0.0.2 | 274 | 1/26/2026 |
| 9.0.0.1 | 121 | 1/12/2026 |
| 9.0.0 | 562 | 7/25/2025 |
| 8.0.1.2 | 628 | 1/26/2026 |
| 8.0.1.1 | 847 | 1/12/2026 |
| 8.0.1 | 5,592 | 4/23/2025 |
| 8.0.0 | 1,621 | 8/28/2024 |
| 7.0.1.2 | 653 | 1/26/2026 |
| 7.0.1.1 | 973 | 1/12/2026 |
| 7.0.1 | 6,663 | 4/23/2025 |
| 7.0.0 | 1,948 | 8/28/2024 |
| 6.0.6.2 | 779 | 1/26/2026 |
| 6.0.6.1 | 1,193 | 1/12/2026 |
| 6.0.6 | 8,577 | 4/23/2025 |
| 5.0.5.2 | 154 | 1/26/2026 |
| 5.0.5.1 | 149 | 1/12/2026 |
| 5.0.5 | 467 | 4/23/2025 |
Loading failed