SuperSocket.MessagePack 2.0.0-beta.1

This is a prerelease version of SuperSocket.MessagePack.
dotnet add package SuperSocket.MessagePack --version 2.0.0-beta.1
                    
NuGet\Install-Package SuperSocket.MessagePack -Version 2.0.0-beta.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="SuperSocket.MessagePack" Version="2.0.0-beta.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SuperSocket.MessagePack" Version="2.0.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="SuperSocket.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 SuperSocket.MessagePack --version 2.0.0-beta.1
                    
#r "nuget: SuperSocket.MessagePack, 2.0.0-beta.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 SuperSocket.MessagePack@2.0.0-beta.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=SuperSocket.MessagePack&version=2.0.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SuperSocket.MessagePack&version=2.0.0-beta.1&prerelease
                    
Install as a Cake Tool

SuperSocket.MessagePack v2.0.0-beta.1 Release Notes

We're excited to announce the first beta release of SuperSocket.MessagePack, a powerful integration library that combines the high-performance SuperSocket networking framework with MessagePack's efficient binary serialization capabilities.

Overview

SuperSocket.MessagePack is designed to simplify network communication by providing a robust, type-based messaging system with cross-platform and cross-language compatibility. This initial release establishes the foundation for efficient binary serialization and deserialization for network messages in SuperSocket applications.

Key Features

  • MessagePack Integration: Leverages the speed and efficiency of MessagePack binary serialization with SuperSocket
  • Type-Based Messaging: Centralizes message type registration with a unified type registry
  • Binary Protocol Support: Implements a standardized fixed-header message format with length and type ID
  • Cross-Platform Compatibility: Supports multiple .NET target frameworks, including:
    • .NET 6.0, .NET 7.0, .NET 8.0, .NET 9.0
    • Optional mobile target frameworks support (iOS, Android, macOS, tvOS)

Core Components

MessagePackTypeRegistry

A centralized registry for MessagePack message types and their type identifiers, allowing message type sharing between encoders, decoders, clients, and servers:

  • Type Registration: Pair message types with their corresponding numeric identifiers
  • Type Safety: Ensures consistent type mapping across the communication pipeline
  • Customizable Options: Supports custom MessagePack serialization options

MessagePackPipelineFilter

Pipeline filter for handling MessagePack messages with a standardized 8-byte header:

  • First 4 bytes: Message size (big-endian)
  • Next 4 bytes: Message type ID (big-endian)

MessagePackPackageEncoder

Provides encoding functionality for transforming application objects into network-ready binary packets with the proper header information.

MessagePackPackageDecoder

Provides decoding functionality for converting binary data back into strongly-typed objects based on the type identifier in the message header.

Getting Started

SuperSocket.MessagePack is built on SuperSocket 2.0 and MessagePack for C# 3.1.3, offering a seamless integration between these powerful libraries. View the README for comprehensive examples of how to set up both client and server applications with SuperSocket.MessagePack.

Compatibility Notes

This beta release is compatible with:

  • SuperSocket.ProtoBase 2.0.0
  • MessagePack 3.1.3
  • Requires .NET 6.0 or higher

What's Next

As we move toward a stable release, we plan to:

  • Add additional message routing capabilities
  • Improve integration with SuperSocket.Server
  • Enhance documentation and code examples
  • Expand test coverage

Feedback Welcome

This is a beta release, and we welcome feedback and contributions from the community. Please report any issues or suggestions on our GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios18.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-macos15.0 is compatible.  net8.0-tvos was computed.  net8.0-tvos18.0 is compatible.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-android35.0 is compatible.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-macos15.0 is compatible.  net9.0-tvos was computed.  net9.0-tvos18.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-beta.1 89 5/4/2025