CacheHelper 2.0.0.1000

There is a newer version of this package available.
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                
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="CacheHelper" Version="2.0.0.1000" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CacheHelper --version 2.0.0.1000                
#r "nuget: CacheHelper, 2.0.0.1000"                
#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 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 });

二、方法说明

三、注意点

  1. 使用Mecached删除时若缓存已经不存在会返回false,redis和cache会返回true
There are no supported framework assets in this package.

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

更新