Nerdbank.MessagePack
1.3.86
Prefix Reserved
See the version list below for details.
dotnet add package Nerdbank.MessagePack --version 1.3.86
NuGet\Install-Package Nerdbank.MessagePack -Version 1.3.86
<PackageReference Include="Nerdbank.MessagePack" Version="1.3.86" />
<PackageVersion Include="Nerdbank.MessagePack" Version="1.3.86" />
<PackageReference Include="Nerdbank.MessagePack" />
paket add Nerdbank.MessagePack --version 1.3.86
#r "nuget: Nerdbank.MessagePack, 1.3.86"
#:package Nerdbank.MessagePack@1.3.86
#addin nuget:?package=Nerdbank.MessagePack&version=1.3.86
#tool nuget:?package=Nerdbank.MessagePack&version=1.3.86
Nerdbank.MessagePack
A modern, fast and NativeAOT-compatible MessagePack serialization library
This is a fast and more user-friendly MessagePack serialization library for .NET and .NET Framework. This package is brought to you by one of the two major contributors to MessagePack-CSharp. As its natural successor, this library comes packed with features that its predecessor lacks, and has ongoing support.
Features
- Serializes in the compact and fast MessagePack format.
- Performance is on par with the highly tuned and popular MessagePack-CSharp library.
- Automatically serialize any type annotated with the PolyType
[GenerateShape]attribute or non-annotated types by adding a 'witness' type with a similar annotation. - Fast
ref-based serialization and deserialization minimizes copying of large structs. - NativeAOT and trimming compatible.
- Serialize only properties that have non-default values (optionally).
- Keep memory pressure low by using async serialization directly to/from I/O like a network, IPC pipe or file.
- Streaming deserialization for large or over-time sequences.
- Primitive msgpack reader and writer APIs for low-level scenarios.
- Author custom converters for advanced scenarios.
- Security mitigations for stack overflows.
- Optionally serialize your custom types as arrays of values instead of maps of names and value for more compact representation and even higher performance.
- Support for serializing instances of certain types derived from the declared type and deserializing them back to their original runtime types using unions.
- Optionally preserve reference equality across serialization/deserialization.
- Structural (i.e. deep, by-value) equality checking for arbitrary types, both with and without collision resistant hash functions.
See how these features and more compare with the leading MessagePack library.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.VisualStudio.Validation (>= 17.13.22)
- PolyType (>= 1.4.1)
- System.Collections.Immutable (>= 8.0.0)
- System.IO.Pipelines (>= 8.0.0)
- System.Text.Json (>= 8.0.6)
-
.NETStandard 2.0
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.VisualStudio.Validation (>= 17.13.22)
- PolyType (>= 1.4.1)
- System.Collections.Immutable (>= 8.0.0)
- System.IO.Pipelines (>= 8.0.0)
- System.Text.Json (>= 8.0.6)
-
net8.0
- Microsoft.VisualStudio.Validation (>= 17.13.22)
- PolyType (>= 1.4.1)
- System.IO.Pipelines (>= 8.0.0)
-
net9.0
- Microsoft.VisualStudio.Validation (>= 17.13.22)
- PolyType (>= 1.4.1)
NuGet packages (26)
Showing the top 5 NuGet packages that depend on Nerdbank.MessagePack:
| Package | Downloads |
|---|---|
|
StreamJsonRpc
A cross-platform .NETStandard library that implements the JSON-RPC wire protocol and can use System.IO.Stream, System.IO.Pipelines or WebSocket so you can use it with any transport. |
|
|
OpenRiaServices.Client.Core
OpenRiaServices.Client.Core provides the OpenRiaServices.Client and DomainClient assemblies for your client projects. |
|
|
Nerdbank.MessagePack.SignalR
SignalR Hub Protocol implementation using Nerdbank.MessagePack for fast and efficient binary serialization. |
|
|
ActualLab.Serialization.NerdbankMessagePack
ActualLab.Serialization.NerdbankMessagePack - an implementation of IByteSerializer from ActualLab.Core for Nerdbank.MessagePack. |
|
|
Nerdbank.MessagePack.AspNetCoreMvcFormatter
ASP.NET Core MVC Input/Output MessagePack formatter using Nerdbank.MessagePack for fast and efficient binary serialization. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Nerdbank.MessagePack:
| Repository | Stars |
|---|---|
|
microsoft/kiota
OpenAPI based HTTP Client code generator
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.5.22-alpha | 270 | 10/17/2026 | |
| 1.4.95 | 877 | 10/19/2026 | |
| 1.4.82 | 23,536 | 10/7/2026 | |
| 1.4.80 | 989 | 10/7/2026 | |
| 1.4.52-alpha | 676 | 9/29/2026 | |
| 1.4.50-alpha | 193 | 9/29/2026 | |
| 1.3.88 | 33,176 | 9/22/2026 | |
| 1.3.86 | 12,603 | 9/17/2026 | |
| 1.3.85 | 43,577 | 8/26/2026 | |
| 1.3.84 | 550 | 8/26/2026 | |
| 1.3.77-beta | 265 | 8/16/2026 | |
| 1.3.66-beta | 260 | 8/5/2026 | |
| 1.3.55-beta | 275 | 7/28/2026 | |
| 1.3.29-beta | 393 | 7/18/2026 | |
| 1.2.36 | 134,080 | 7/8/2026 | |
| 1.2.34 | 11,132 | 7/6/2026 | |
| 1.2.30 | 40,938 | 6/20/2026 | |
| 1.2.4 | 9,615,117 | 5/18/2026 | |
| 1.1.78 | 1,363 | 5/18/2026 | |
| 1.1.62 | 105,238 | 4/29/2026 |