Ascentis.ExternalCache 1.0.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ascentis.ExternalCache --version 1.0.0.3                
NuGet\Install-Package Ascentis.ExternalCache -Version 1.0.0.3                
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="Ascentis.ExternalCache" Version="1.0.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ascentis.ExternalCache --version 1.0.0.3                
#r "nuget: Ascentis.ExternalCache, 1.0.0.3"                
#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 Ascentis.ExternalCache as a Cake Addin
#addin nuget:?package=Ascentis.ExternalCache&version=1.0.0.3

// Install Ascentis.ExternalCache as a Cake Tool
#tool nuget:?package=Ascentis.ExternalCache&version=1.0.0.3                

Ascentis.ExternalCache Component

This component offers a subset of the functionality you get by using MemoryCache in your application's default process and AppDomain.

Why would you use this class?

If you have a model where you run in one machine a farm of processes and want a drop-in easy way to implement a shared cache of data with functionality like the one provided by MemoryCache this class can help fulfill your needs.

Some details to consider:

Strongly recommended to store data using primitive types (only string supported for now). The class supports serialized COM objects but performance is about 10x slower than serializing your object as text (JSON o XML) and then caching the text. When passing a COM object to store in cache, a shallow copy will be performed and the resulting copied object will be stored. Currently only public properties are copied over and there's no test to verify the behavior if within those properties there's a subobject. Current tests cover only the case of a COM DTO containing only primitive public properties.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in 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
1.3.0.4 569 9/16/2020
1.3.0.3 408 8/26/2020
1.2.0.2 806 9/2/2019
1.1.0.1 502 8/26/2019
1.1.0 498 8/25/2019
1.0.0.3 500 8/24/2019
1.0.0.2 522 8/23/2019
1.0.0.1 554 8/23/2019

Refactored the code to property support IDisposable objects (COM objects) when inserted into caches