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" />
paket add CacheManager.Serialization.Hyperion --version 1.0.1
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");
});
Dependencies
-
.NETFramework 4.5.2
- CacheManager.Core (>= 1.1.2)
- Hyperion (>= 0.9.8)
-
.NETStandard 1.6
- CacheManager.Core (>= 1.1.2)
- Hyperion (>= 0.9.8)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- CacheManager.Core (>= 1.1.2)
- Hyperion (>= 0.9.8)
GitHub Usage
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated | ||
---|---|---|---|---|
1.0.1 | 1,290 | 5/15/2018 |