CacheManager.Serialization.Hyperion 1.0.1

CacheManager extension package providing polymorphic (de)serialization support using Hyperion for distributed caches. CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features, the Hyperion serializer can be used in place of the default Binary Serializer

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

CacheManager.Serialization.Hyperion

CacheManager extension package providing polymorphic (de)serialization support using Hyperion for distributed caches. CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features, the Hyperion serializer can be used in place of the default Binary Serializer

Usage

Start of by installing the CacheManager.Serialization.Hyperion nuget

WithHyperionSerializer extension method can be used as below

var cache = CacheFactory.Build("armutCache",
    settings =>
    {
       settings.WithHyperionSerializer().WithMicrosoftMemoryCacheHandle("memoryCache");
    });

Or HyperionSerializerSettings can be customize as below

var cache = CacheFactory.Build("armutCache",
    settings =>
    {
       settings
        .WithHyperionSerializer(new HyperionSerializerSettings(preserveObjectReferences:true, versionTolerance:true, ignoreISerializable:true))
        .WithMicrosoftMemoryCacheHandle("memoryCache");
    });

CacheManager.Serialization.Hyperion

CacheManager extension package providing polymorphic (de)serialization support using Hyperion for distributed caches. CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features, the Hyperion serializer can be used in place of the default Binary Serializer

Usage

Start of by installing the CacheManager.Serialization.Hyperion nuget

WithHyperionSerializer extension method can be used as below

var cache = CacheFactory.Build("armutCache",
    settings =>
    {
       settings.WithHyperionSerializer().WithMicrosoftMemoryCacheHandle("memoryCache");
    });

Or HyperionSerializerSettings can be customize as below

var cache = CacheFactory.Build("armutCache",
    settings =>
    {
       settings
        .WithHyperionSerializer(new HyperionSerializerSettings(preserveObjectReferences:true, versionTolerance:true, ignoreISerializable:true))
        .WithMicrosoftMemoryCacheHandle("memoryCache");
    });

Version History

Version Downloads Last updated
1.0.1 452 5/15/2018