Nerdbank.MessagePack
0.2.108-alpha
Prefix Reserved
See the version list below for details.
dotnet add package Nerdbank.MessagePack --version 0.2.108-alpha
NuGet\Install-Package Nerdbank.MessagePack -Version 0.2.108-alpha
<PackageReference Include="Nerdbank.MessagePack" Version="0.2.108-alpha" />
<PackageVersion Include="Nerdbank.MessagePack" Version="0.2.108-alpha" />
<PackageReference Include="Nerdbank.MessagePack" />
paket add Nerdbank.MessagePack --version 0.2.108-alpha
#r "nuget: Nerdbank.MessagePack, 0.2.108-alpha"
#:package Nerdbank.MessagePack@0.2.108-alpha
#addin nuget:?package=Nerdbank.MessagePack&version=0.2.108-alpha&prerelease
#tool nuget:?package=Nerdbank.MessagePack&version=0.2.108-alpha&prerelease
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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. |
-
net8.0
- Microsoft.VisualStudio.Validation (>= 17.8.8)
- PolyType (>= 0.21.1)
- System.IO.Pipelines (>= 9.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Nerdbank.MessagePack:
Package | Downloads |
---|---|
Nerdbank.MessagePack.SignalR
SignalR Hub Protocol implementation using Nerdbank.MessagePack for fast and efficient binary serialization. |
|
Nerdbank.MessagePack.AspNetCoreMvcFormatter
ASP.NET Core MVC Input/Output MessagePack formatter using Nerdbank.MessagePack for fast and efficient binary serialization. |
|
ServiceModel.Grpc.Nerdbank.MessagePackMarshaller
Library that enables applications to communicate with gRPC services using code-first approach, helps to get around some limitations of gRPC protocol. Provides exception handling. Helps to migrate existing WCF solution to gRPC with minimum effort. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Nerdbank.MessagePack:
Repository | Stars |
---|---|
microsoft/vs-streamjsonrpc
The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.
|
|
max-ieremenko/ServiceModel.Grpc
Code-first for gRPC
|
Version | Downloads | Last Updated |
---|---|---|
0.10.25-rc | 169 | 9/16/2025 |
0.10.7-rc | 79 | 9/12/2025 |
0.10.2-rc | 131 | 9/11/2025 |
0.9.35-rc | 189 | 9/10/2025 |
0.9.26-rc | 132 | 9/9/2025 |
0.9.23-rc | 123 | 9/7/2025 |
0.9.14-rc | 620 | 9/4/2025 |
0.9.12-rc | 295 | 9/4/2025 |
0.8.131-rc | 789 | 8/26/2025 |
0.8.128-rc | 172 | 8/26/2025 |
0.8.111-rc | 130 | 8/21/2025 |
0.8.102-rc | 1,010 | 8/16/2025 |
0.8.92-rc | 152 | 8/9/2025 |
0.8.90-rc | 237 | 8/7/2025 |
0.8.82-rc | 892 | 8/3/2025 |
0.8.67-rc | 109 | 7/27/2025 |
0.8.54-rc | 519 | 7/21/2025 |
0.8.46-rc | 467 | 7/21/2025 |
0.8.30-rc | 194 | 6/27/2025 |
0.8.1-rc | 452 | 6/12/2025 |
0.7.1-beta | 280 | 6/10/2025 |
0.6.27-beta | 160 | 6/3/2025 |
0.6.7-beta | 104 | 5/25/2025 |
0.6.1-beta | 136 | 5/20/2025 |
0.5.80-beta | 175 | 5/1/2025 |
0.5.72-beta | 167 | 4/23/2025 |
0.5.57-beta | 135 | 4/23/2025 |
0.5.37-beta | 134 | 3/29/2025 |
0.5.1-beta | 164 | 3/18/2025 |
0.4.5-beta | 268 | 3/4/2025 |
0.3.161-beta | 177 | 2/3/2025 |
0.3.151-beta | 86 | 2/2/2025 |
0.3.120-beta | 114 | 1/26/2025 |
0.3.38-beta | 317 | 12/15/2024 |
0.3.27-alpha | 133 | 12/13/2024 |
0.3.2-alpha | 84 | 12/8/2024 |
0.2.108-alpha | 106 | 12/4/2024 |
0.2.82-alpha | 108 | 11/26/2024 |
0.2.52-alpha | 82 | 11/18/2024 |
0.2.34-alpha | 78 | 11/17/2024 |
0.2.2-alpha | 88 | 11/12/2024 |
0.1.734-alpha-g09268fd45c | 99 | 11/7/2024 |
0.1.705-alpha-gad428877b7 | 74 | 11/5/2024 |