SuperSocket.ProtoBase 2.0.1

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

Release Note: SuperSocket 2.0.1

Overview

SuperSocket 2.0.1 is a maintenance release that addresses several stability issues, improves performance, enhances dependency injection support, and adds more comprehensive documentation through XML comments.

Key Improvements

Stability and Bug Fixes

  • Fixed the middleware session handling for proper session rejection (#796)
  • Resolved several issues with SocketSender that were causing ArgumentOutOfRangeException (#794, #65af03d)
  • Used pipe scheduler to run continuation actions in SocketSender for better reliability (#798)
  • Fixed order-dependent issue with UseInProcSessionContainer() which now correctly works when not placed last in the fluent configuration chain (#788)
  • Default to IPv4 for unsigned address family to ensure consistent behavior (193e8365)

Performance Improvements

  • Added ConfigureAwait for SendAsync to avoid context switching and improve performance (#792)
  • Various socket handling optimizations (1f701b1b)

Enhanced Dependency Injection

  • Modified pipeline filter constructor to allow dependency injection, improving flexibility when creating custom filters (#797)
  • Fixed issue where application builder (not web application builder) could not be used as SuperSocket application builder (c5d66c45)

Developer Experience

  • Added .editorconfig for consistent coding style across the project (#791)
  • Added comprehensive XML comments to improve API documentation (0ba13d2a, 63c67115, 6290d9ee)
  • Exposed StartReceive method as protected to allow more customization in derived classes (4e18f714)
  • Added release notes in NuGet packages for better visibility of changes (2daa4415)

Project Structure

  • Removed ProtoBuf from the main repository and moved it to a separate repository (351a4a46)
  • Added new components to the README (d7b7d6d1)
  • Updated project description for clarity (b7e0b1c0)

Testing

  • Added new unit tests to improve code coverage (709bfc10, 14bb328b)

Contributors

  • Kerry Jiang
  • hyabean

Upgrading

This release maintains compatibility with SuperSocket 2.0.0. Users are encouraged to update to this version to benefit from the stability improvements and bug fixes.

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 (31)

Showing the top 5 NuGet packages that depend on SuperSocket.ProtoBase:

Package Downloads
SuperSocket.ClientEngine

It's a .NET socket tool which can simplify the socket client developing

SuperSocket.WebSocket

SuperSocket WebSocket protocol implementation providing frame parsing, message handling, and standards-compliant WebSocket protocol support (RFC 6455) for real-time bidirectional communication.

SuperSocket.Channel

SuperSocket library to abstract underlying communications as channel with pipeline.

SuperSocket.Primitives

SuperSocket core primitive interfaces and classes that define the fundamental abstractions for network communication, session management, and message handling.

SuperSocket.Server

SuperSocket server hosting library providing the core server implementation with session management, connection handling, and integration with the .NET dependency injection system and configuration framework.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on SuperSocket.ProtoBase:

Repository Stars
kerryjiang/SuperSocket.ClientEngine
A .NET library which can make your socket client development easier
jianjipan/MES
这是一个用C#写的MES系统 ,用到了supersocket通信框架,以及WPF技术
Version Downloads Last updated
2.0.2-beta.1 177 5/25/2025
2.0.1 683 5/24/2025
2.0.0 1,303 4/20/2025
2.0.0-beta.31 500 4/2/2025
2.0.0-beta.30 955 1/26/2025
2.0.0-beta.28 1,366 11/2/2024
2.0.0-beta.27 2,764 9/30/2024
2.0.0-beta.26 2,005 8/31/2024
2.0.0-beta.25 690 8/21/2024
2.0.0-beta.24 1,800 6/29/2024
2.0.0-beta.23 1,449 6/1/2024
2.0.0-beta.22 1,341 5/25/2024
2.0.0-beta.21 801 5/4/2024
2.0.0-beta.20.448 1,403 4/14/2024
2.0.0-beta.18 10,291 8/30/2023
2.0.0-beta.17 4,303 6/4/2023
2.0.0-beta.16 999 5/10/2023
2.0.0-beta.15 6,453 3/5/2023
2.0.0-beta.14 1,724 2/21/2023
2.0.0-beta.13 7,291 1/17/2023
2.0.0-beta.12 19,481 10/30/2022
2.0.0-beta.11 8,692 5/6/2022
2.0.0-beta.10 67,696 5/29/2021
2.0.0-beta.9 589 5/26/2021
2.0.0-beta.8 19,851 1/23/2021
1.7.0.17 390,584 6/8/2017
1.7.0.16 1,850 5/29/2017
1.7.0.15 2,296 3/22/2017
1.7.0.14 2,138 3/8/2017
1.7.0.13 4,589 12/30/2016
1.7.0.12 7,276 8/27/2016
1.7.0.11 3,746 8/11/2016
1.7.0.10 1,836 8/5/2016
1.7.0.9 1,485 8/4/2016
1.7.0.8 2,355 7/27/2016
1.7.0.7 2,297 6/28/2016
1.7.0.5 3,739 4/16/2016
1.7.0-beta7 1,395 6/22/2016
1.7.0-beta6 1,421 5/30/2016