CK.AspNet.WebSocket 23.0.2

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

WebSocket server infrastructure: pipe-based duplex transport, message protocols with optional end-of-message framing, one dispatcher per mounted endpoint.

Mounting is a plain middleware call - no endpoint routing, no UseRouting, no authorization services pulled in. The path match is whole and case-insensitive; a non-WebSocket request on it gets a 400.

Every dispatcher method takes an IActivityMonitor first: the required request scoped one on connect and disconnect, a per-connection one in the message loop.

Transport and protocol code is vendored from SimpleR (MIT, Copyright (c) 2024 Davit Asryan); LICENSE.SimpleR ships in the package; the deviations are listed in the repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on CK.AspNet.WebSocket:

Package Downloads
CK.AspNet.WebSocketChannel

One WebSocket shared by every feature of an application: one anonymous socket per client, a process singleton owning all the connections, and a {topic, message} envelope that tells each feature which frames are its own.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
23.0.2 112 12/1/2026
23.0.1 207 10/8/2026
23.0.0 167 10/7/2026
22.0.0 171 9/25/2026
21.1.1 256 9/23/2026
21.1.0 228 9/20/2026