CachingLibrary 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.

Install-Package CachingLibrary -Version 1.0.0
dotnet add package CachingLibrary --version 1.0.0
<PackageReference Include="CachingLibrary" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CachingLibrary --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

//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

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 293 8/3/2017