DynaCache 1.7.0

DynaCache is a small C# library that allows you to automatically cache the output from standard .NET functions. Although it is possible to use it without one, DynaCache works best when used in conjunction with a dependency injection (DI) framework, such as StructureMap, Ninject, etc.

Install-Package DynaCache -Version 1.7.0
dotnet add package DynaCache --version 1.7.0
<PackageReference Include="DynaCache" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DynaCache --version 1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DynaCache, 1.7.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DynaCache as a Cake Addin
#addin nuget:?package=DynaCache&version=1.7.0

// Install DynaCache as a Cake Tool
#tool nuget:?package=DynaCache&version=1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added ability to specify named cache durations in application configuration, e.g.:
 <configSections>
   <section name="dynaCache" type="DynaCache.DynaCacheSection, DynaCache"/>
 </configSections>

 <dynaCache>
   <cacheDurations>
     <add name="short" duration="00:00:01" />
     <add name="long" duration="00:01:00" />
   </cacheDurations>
 </dynaCache>

Also tweaked how DateTime and DateTimeOffset parameters are recorded in cache keys to make them less prone to collision

Dependencies

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 History

Version Downloads Last updated
1.7.0 18,564 7/23/2014
1.6.0 2,058 9/8/2013
1.5.0 1,319 4/2/2013
1.4.0 901 3/31/2013
1.1.0 14,934 12/13/2011