Nerdbank.MessagePack 0.6.27-beta

Prefix Reserved
This is a prerelease version of Nerdbank.MessagePack.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Nerdbank.MessagePack --version 0.6.27-beta
                    
NuGet\Install-Package Nerdbank.MessagePack -Version 0.6.27-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nerdbank.MessagePack" Version="0.6.27-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nerdbank.MessagePack" Version="0.6.27-beta" />
                    
Directory.Packages.props
<PackageReference Include="Nerdbank.MessagePack" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nerdbank.MessagePack --version 0.6.27-beta
                    
#r "nuget: Nerdbank.MessagePack, 0.6.27-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nerdbank.MessagePack@0.6.27-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nerdbank.MessagePack&version=0.6.27-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Nerdbank.MessagePack&version=0.6.27-beta&prerelease
                    
Install as a Cake Tool

Nerdbank.MessagePack

A modern, fast and NativeAOT-compatible MessagePack serialization library

Learn everything on our docs site.

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.
  • Automatically serialize 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.
  • Keep memory pressure low by using async serialization directly to/from I/O like a network, IPC pipe or file.
  • 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 bvalues 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.
Product 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Nerdbank.MessagePack:

Package Downloads
Nerdbank.MessagePack.AspNetCoreMvcFormatter

ASP.NET Core MVC Input/Output MessagePack formatter using Nerdbank.MessagePack for fast and efficient binary serialization.

Nerdbank.MessagePack.SignalR

SignalR Hub Protocol implementation using Nerdbank.MessagePack for fast and efficient binary serialization.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.92-rc 81 8/9/2025
0.8.90-rc 165 8/7/2025
0.8.82-rc 107 8/3/2025
0.8.67-rc 94 7/27/2025
0.8.54-rc 364 7/21/2025
0.8.46-rc 436 7/21/2025
0.8.30-rc 144 6/27/2025
0.8.1-rc 358 6/12/2025
0.7.1-beta 269 6/10/2025
0.6.27-beta 148 6/3/2025
0.6.7-beta 96 5/25/2025
0.6.1-beta 129 5/20/2025
0.5.80-beta 163 5/1/2025
0.5.72-beta 161 4/23/2025
0.5.57-beta 128 4/23/2025
0.5.37-beta 126 3/29/2025
0.5.1-beta 153 3/18/2025
0.4.5-beta 261 3/4/2025
0.3.161-beta 168 2/3/2025
0.3.151-beta 79 2/2/2025
0.3.120-beta 106 1/26/2025
0.3.38-beta 311 12/15/2024
0.3.27-alpha 123 12/13/2024
0.3.2-alpha 78 12/8/2024
0.2.108-alpha 98 12/4/2024
0.2.82-alpha 99 11/26/2024
0.2.52-alpha 75 11/18/2024
0.2.34-alpha 72 11/17/2024
0.2.2-alpha 81 11/12/2024
0.1.734-alpha-g09268fd45c 93 11/7/2024
0.1.705-alpha-gad428877b7 67 11/5/2024