CacheHelper 2.0.0.1000
See the version list below for details.
dotnet add package CacheHelper --version 2.0.0.1000
NuGet\Install-Package CacheHelper -Version 2.0.0.1000
<PackageReference Include="CacheHelper" Version="2.0.0.1000" />
paket add CacheHelper --version 2.0.0.1000
#r "nuget: CacheHelper, 2.0.0.1000"
// Install CacheHelper as a Cake Addin #addin nuget:?package=CacheHelper&version=2.0.0.1000 // Install CacheHelper as a Cake Tool #tool nuget:?package=CacheHelper&version=2.0.0.1000
CacheHelper类库说明 使用说明:先进行第四点”配置nuget“后搜索”Cachehelper“引用即可
一、初始化说明 如果为redis,则使用RedisCacheInitConfiguration;如果为memorycache则使用RedisCacheInitConfiguration;如果为本地内存则为Null。 以Redis为例: CacheAssembleExtensions.AddCache(CacheEnum.Redis, new RedisCacheInitConfiguration() { ConnectionString = "127.0.0.1:6379,password=abcd1234,connectRetry=3,connectTimeout=3000,syncTimeout=2000,keepAlive=300,abortConnect=false", DbNumber = 10, SystemKey = null });
二、方法说明
三、注意点
- 使用Mecached删除时若缓存已经不存在会返回false,redis和cache会返回true
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.5 | 661 | 12/1/2020 |
2.1.4 | 442 | 12/1/2020 |
2.1.3 | 428 | 12/1/2020 |
2.1.1 | 451 | 11/18/2020 |
2.1.0 | 514 | 11/18/2020 |
2.0.3 | 449 | 11/5/2020 |
2.0.2 | 433 | 11/5/2020 |
2.0.1.1000 | 504 | 11/5/2020 |
2.0.0.1000 | 680 | 11/5/2020 |
1.0.4 | 1,977 | 4/25/2019 |
1.0.3 | 666 | 4/9/2019 |
1.0.2 | 667 | 4/9/2019 |
1.0.1 | 677 | 4/4/2019 |
1.0.0 | 680 | 4/4/2019 |
更新