The latest version of cache adapter has now been released and is available via Nuget or you can download the source code here.
Note: For those who don’t know what cache adapter is, you can check out the wiki here or you can look at some previous blog posts here which also has links to other posts.
The nuget packages for the core component and the package with all configuration and code examples are:
What is in this release
This is only a relatively minor release but does contain some useful additions, as well as addressing some outstanding issues. The list of items addressed in this release are:
- Addition of a licence file Issue #49
- Fixing a bug where multiple configuration instances are created Issue #40
- Fluent configuration Issue #50
Previously, configuration of the cache adapter in code wa a little tedious. Now however, you can do this:
var provider = CacheConfig.Create()
provider.Get<MyObject>("cacheKey", DateTime.Now.AddHours(1), () =>