Ascentis.ExternalCache 1.2.0.2

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

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

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. String supported more efficiently using the overloaded methods that receive string as parameter. The rest of primitives supported using the other overload that receives an object (OleVariant if pure COM calls are made) as parameter. 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.

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 528 9/16/2020
1.3.0.3 385 8/26/2020
1.2.0.2 771 9/2/2019
1.1.0.1 484 8/26/2019
1.1.0 472 8/25/2019
1.0.0.3 491 8/24/2019
1.0.0.2 495 8/23/2019
1.0.0.1 527 8/23/2019

Removed external cache item. No need COM object to transfer data, use simple Dynamic class