Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 836 Bytes

File metadata and controls

40 lines (27 loc) · 836 Bytes

Jil

Zero encoding extreme performance binary serializer for C# and Unity.

Install

Install-Package StackExchange.Redis.Extensions.MemoryPack
dotnet add package StackExchange.Redis.Extensions.MemoryPack
<PackageReference Include="StackExchange.Redis.Extensions.MemoryPack" Version="8.0.5" />
paket add StackExchange.Redis.Extensions.MemoryPack****

Setup

Now that you have installed the package, you can register it into your favourite dependency injection framework:

Example using Microsoft.Extensions.DependencyInjection:

services.AddSingleton<ISerializer, MemoryPackSerializer>();

Example using Castle.Windsor:

container.Register(Component.For<ISerializer>()
				.ImplementedBy<MemoryPackSerializer>()
				.LifestyleSingleton());