CachingLibrary 1.0.0
dotnet add package CachingLibrary --version 1.0.0
NuGet\Install-Package CachingLibrary -Version 1.0.0
<PackageReference Include="CachingLibrary" Version="1.0.0" />
paket add CachingLibrary --version 1.0.0
#r "nuget: CachingLibrary, 1.0.0"
// Install CachingLibrary as a Cake Addin #addin nuget:?package=CachingLibrary&version=1.0.0 // Install CachingLibrary as a Cake Tool #tool nuget:?package=CachingLibrary&version=1.0.0
Banco CachingLibrary - helps in caching items. Need this to be invoked from a web app or a service as the cache is saved on the server.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NETPlatform | dotnet is compatible. |
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 |
---|---|---|
1.0.0 | 1,107 | 8/3/2017 |
//define a caching key
string cachingKey = "MyKey:" +cardNumber;
//to retrieve marshall it back to your object [any type or custom type]
var response = (any object)WCFCache.Current[cachingKey];
//to insert into cache
WCFCache.Current.Insert(cachingKey, (any object), new TimeSpan(0, SlidingExpiration, 0), true);
//define the SlidingExpiration as a configuration parameter