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 637 12/1/2020
2.1.4 425 12/1/2020
2.1.3 409 12/1/2020
2.1.1 434 11/18/2020
2.1.0 492 11/18/2020
2.0.3 433 11/5/2020
2.0.2 413 11/5/2020
2.0.1.1000 484 11/5/2020
2.0.0.1000 658 11/5/2020
1.0.4 1,957 4/25/2019
1.0.3 647 4/9/2019
1.0.2 649 4/9/2019
1.0.1 656 4/4/2019
1.0.0 658 4/4/2019

更新