LsMsgPack.Core 2026.10.11.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package LsMsgPack.Core --version 2026.10.11.1
                    
NuGet\Install-Package LsMsgPack.Core -Version 2026.10.11.1
                    
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="LsMsgPack.Core" Version="2026.10.11.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LsMsgPack.Core" Version="2026.10.11.1" />
                    
Directory.Packages.props
<PackageReference Include="LsMsgPack.Core" />
                    
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 LsMsgPack.Core --version 2026.10.11.1
                    
#r "nuget: LsMsgPack.Core, 2026.10.11.1"
                    
#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 LsMsgPack.Core@2026.10.11.1
                    
#: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=LsMsgPack.Core&version=2026.10.11.1
                    
Install as a Cake Addin
#tool nuget:?package=LsMsgPack.Core&version=2026.10.11.1
                    
Install as a Cake Tool

LsMsgPack.Core

The parts shared by the LtMsgPack and LsMsgPack MsgPack serializers. You don't need to add it yourself: both serializers depend on it.

Its types are in the LsMsgPack.* namespaces, so they work the same with either serializer:

  • MsgPackOptions: the format settings (UseInexedSchema, ObjectLayout, AddTypeIdOptions, PropertyOrder, TypeGuard...), the base class of LtMsgPackOptions and MsgPackSettings.
  • Type resolvers (IMsgPackTypeResolver, XmlRootAttributeTypeResolver) and property id resolvers (IMsgPackPropertyIdResolver, AttributePropertyNameResolver): choose the ids written for types and properties.
  • Filters (FilterDefaultValues, FilterNullValues, FilterIgnoredAttribute...): decide which properties are written. FilterIgnoredAttribute.LikeNewtonsoft, LikeSystemTextJson and the other presets leave out the same properties as those serializers (property names and filters).
  • Type guards (IMsgPackTypeGuard, AllowedTypesGuard): limit the types the data may create.
  • SchemaStore: keeps indexed schemas between calls, so messages can refer to a schema instead of carrying it.
  • MsgPackMediaTypes: the MsgPack media types (application/msgpack, application/x-msgpack, application/x-lsmsgpack).

Documentation

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 was computed.  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. 
.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 is compatible. 
.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 (4)

Showing the top 4 NuGet packages that depend on LsMsgPack.Core:

Package Downloads
LtMsgPack

Fast MessagePack (MsgPack) serializer for .NET classes, used like the JSON serializers: 3-5x as fast as System.Text.Json with 35-47% smaller payloads. Polymorphism with type ids, an optional indexed schema, data of older and newer class versions still loads, streaming, presets for MessagePack-CSharp and Nerdbank.MessagePack, and a source generator for NativeAOT and trimming.

LsMsgPack

Fast MessagePack (MsgPack) serializer for .NET classes, used like the JSON serializers: 3-5x as fast as System.Text.Json with 35-47% smaller payloads. Polymorphism with type ids, an optional indexed schema, data of older and newer class versions still loads, streaming, presets for MessagePack-CSharp and Nerdbank.MessagePack, and a source generator for NativeAOT and trimming.

LsMsgPackDebug

MessagePack (MsgPack) serializer for .NET classes that also gives you the tree of MsgPack items of any payload, to inspect MsgPack data even without the classes. Writes and reads the same data as LsMsgPack, the much faster package to use when you only need to serialize.

LsMsgPack.Lz4

LZ4 compression for LsMsgPack and LsMsgPackDebug (MsgPackOptions.Compression = Lz4Compression.Block): the format of MessagePack-CSharp's Lz4Block and Lz4BlockArray, so each reads what the other writes. Brings K4os.Compression.LZ4 along; the serializers themselves depend on no compression package.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.11.23.1 20 11/23/2026
2026.11.21.1 79 11/21/2026
2026.11.20.1 145 11/20/2026
2026.11.18.1 151 11/18/2026
2026.11.16.1 279 11/16/2026
2026.11.14.1 275 11/14/2026
2026.11.12.1 276 11/12/2026
2026.11.9.2 284 11/9/2026
2026.11.9.1 282 11/9/2026
2026.11.8.1 282 11/7/2026
2026.11.6.1 280 11/6/2026
2026.11.3.1 284 11/3/2026
2026.10.29.1 267 10/29/2026
2026.10.28.2 255 10/28/2026
2026.10.28.1 254 10/28/2026
2026.10.27.1 245 10/27/2026
2026.10.26.1 226 10/26/2026
2026.10.24.1 258 10/23/2026
2026.10.22.1 243 10/21/2026
2026.10.11.1 241 10/10/2026
Loading failed