![]() |
VOOZH | about |
dotnet add package Excalibur.Dispatch.Serialization.MemoryPack --version 3.0.0-alpha.208
NuGet\Install-Package Excalibur.Dispatch.Serialization.MemoryPack -Version 3.0.0-alpha.208
<PackageReference Include="Excalibur.Dispatch.Serialization.MemoryPack" Version="3.0.0-alpha.208" />
<PackageVersion Include="Excalibur.Dispatch.Serialization.MemoryPack" Version="3.0.0-alpha.208" />Directory.Packages.props
<PackageReference Include="Excalibur.Dispatch.Serialization.MemoryPack" />Project file
paket add Excalibur.Dispatch.Serialization.MemoryPack --version 3.0.0-alpha.208
#r "nuget: Excalibur.Dispatch.Serialization.MemoryPack, 3.0.0-alpha.208"
#:package Excalibur.Dispatch.Serialization.MemoryPack@3.0.0-alpha.208
#addin nuget:?package=Excalibur.Dispatch.Serialization.MemoryPack&version=3.0.0-alpha.208&prereleaseInstall as a Cake Addin
#tool nuget:?package=Excalibur.Dispatch.Serialization.MemoryPack&version=3.0.0-alpha.208&prereleaseInstall as a Cake Tool
High-performance MemoryPack binary serialization for Excalibur framework.
Provides opt-in high-performance binary serialization for:
0x01 in persisted payloads[MemoryPackable]. Only the internal envelope wrapper uses MemoryPack attributes.One call does everything -- DI registration, serializer registry entry, and setting MemoryPack as the current serializer:
services.AddMemoryPackSerializer();
That is all you need. JSON is the default serializer; calling AddMemoryPackSerializer() opts you into MemoryPack for high-performance binary serialization.
| Metric | Value | Notes |
|---|---|---|
| Serialization | ~150ns/1KB | Fastest .NET binary format |
| Deserialization | ~120ns/1KB | Zero-allocation span slicing |
| Payload Size | Smallest | Optimal binary encoding |
| Memory Pressure | Minimal | No GC allocations in hot path |
MemoryPack is assigned Serializer ID 1 in the pluggable serialization system.
The magic byte 0x01 prefixes all MemoryPack-serialized payloads.
Stored Payload: [0x01][MemoryPack binary data...]
^
Magic byte identifies serializer
Best For:
Consider Alternatives When:
// One call switches new messages to MemoryPack.
// Old JSON data remains readable via its magic byte.
services.AddMemoryPackSerializer();
// Switch to a different serializer. Old MemoryPack data remains
// readable because the magic byte tells the system which deserializer to use.
services.AddMessagePackSerializer();
MemoryPack - Core MemoryPack serialization runtimeExcalibur.Dispatch.Abstractions - Core contractsFull NativeAOT support with source-generated serializers.
The internal envelope types use [MemoryPackable] with partial class declarations for source generation. Consumer event types do not need any attributes.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Excalibur.Dispatch.Serialization.MemoryPack:
| Package | Downloads |
|---|---|
|
Excalibur.Data.MongoDB
MongoDB database provider implementation for Excalibur data access layer. |
|
|
Excalibur.EventSourcing.Postgres
Postgres implementations for Excalibur event sourcing, including event store, snapshot store, and outbox store. |
|
|
Excalibur.EventSourcing.SqlServer
SQL Server implementations for Excalibur event sourcing, including event store, snapshot store, and outbox store. |
|
|
Excalibur.Data.Postgres
Postgres database provider implementation for Excalibur data access layer. |
|
|
Excalibur.EventSourcing.Sqlite
SQLite implementations for Excalibur event sourcing. Lightweight event store and snapshot store for local development, testing, and embedded scenarios. Zero Docker dependency. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-alpha.208 | 121 | 6/11/2026 |
| 3.0.0-alpha.207 | 122 | 6/11/2026 |
| 3.0.0-alpha.205 | 126 | 6/10/2026 |
| 3.0.0-alpha.204 | 128 | 6/8/2026 |
| 3.0.0-alpha.203 | 124 | 6/8/2026 |
| 3.0.0-alpha.202 | 133 | 6/8/2026 |
| 3.0.0-alpha.201 | 125 | 6/8/2026 |
| 3.0.0-alpha.199 | 133 | 6/8/2026 |
| 3.0.0-alpha.198 | 126 | 5/28/2026 |
| 3.0.0-alpha.197 | 136 | 5/28/2026 |
| 3.0.0-alpha.194 | 138 | 5/20/2026 |
| 3.0.0-alpha.193 | 134 | 5/13/2026 |
| 3.0.0-alpha.192 | 123 | 5/13/2026 |
| 3.0.0-alpha.191 | 127 | 5/13/2026 |
| 3.0.0-alpha.189 | 124 | 5/12/2026 |
| 3.0.0-alpha.187 | 143 | 5/8/2026 |
| 3.0.0-alpha.185 | 129 | 5/7/2026 |
| 3.0.0-alpha.183 | 125 | 5/7/2026 |
| 3.0.0-alpha.182 | 136 | 5/6/2026 |
| 3.0.0-alpha.181 | 138 | 5/6/2026 |