awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

C# WebSocket Libraries

Ranking updated Jul 13, 2026

For a C# library for implementing WebSockets, the strongest matches are signalr/signalr (SignalR is a high-performance real-time framework that abstracts WebSocket), dotnet/aspnetcore (This is the official framework that provides the native) and sta/websocket-sharp (This library provides a robust, protocol-compliant implementation for building). statianzo/fleck and koush/androidasync round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best c sharp websocket libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

C# WebSocket Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • signalr/signalrSignalR avatar

    SignalR/SignalR

    9,389View on GitHub↗

    SignalR is a .NET real-time web framework designed to push content from a server to connected browser and non-browser clients. It provides a server-to-client push framework and a remote procedure call system that enables bidirectional communication over persistent connections. The library utilizes WebSockets to establish full-duplex connections and includes a transport-layer abstraction to manage different network protocols. It employs client-side connection negotiation to determine the best available communication protocol during the initial handshake. The system manages persistent connecti

    SignalR is a high-performance real-time framework that abstracts WebSocket communication to provide robust bidirectional messaging and seamless ASP.NET Core integration, making it a primary choice for .NET developers needing persistent connections.

    C#Data Framing
    View on GitHub↗9,389
  • dotnet/aspnetcoredotnet avatar

    dotnet/aspnetcore

    38,143View on GitHub↗

    This project is a comprehensive server-side web framework designed for building scalable web applications and services. It provides a structured, component-based architecture that integrates a dependency injection container to manage service lifecycles and promote loose coupling across the software stack. The framework enables the creation of interactive client-side interfaces through a component-based model that synchronizes state directly with the browser. The platform distinguishes itself through a highly configurable middleware-based request pipeline and an attribute-based routing engine

    This is the official framework that provides the native, high-performance WebSocket implementation for .NET, including the required asynchronous I/O and ASP.NET Core integration.

    C#Component FrameworksDependency Injection ContainersWeb Application Frameworks
    View on GitHub↗38,143
  • sta/websocket-sharpsta avatar

    sta/websocket-sharp

    6,067View on GitHub↗

    websocket-sharp is a C# library implementation of the WebSocket protocol used for building bidirectional client and server applications. It enables real-time data exchange between endpoints via persistent connections. The library provides specialized networking capabilities, including SSL encrypted networking for secure transport and certificate validation. It also features HTTP proxy tunneling to route traffic through intermediary servers using basic or digest authentication. The project covers a broad range of capabilities, including the implementation of both WebSocket clients and servers

    This library provides a robust, protocol-compliant implementation for building WebSocket clients and servers in C#, though it lacks native integration with the modern ASP.NET Core middleware pipeline.

    C#Real-Time Web CommunicationWebSocket Clients and ServersBinary Protocols
    View on GitHub↗6,067
  • statianzo/fleckstatianzo avatar

    statianzo/Fleck

    2,436View on GitHub↗

    C# Websocket Implementation

    Fleck is a lightweight, standalone WebSocket server implementation for C# that provides a straightforward way to handle WebSocket connections, though it lacks the native ASP.NET Core middleware integration found in more comprehensive frameworks.

    C#Web Frameworks
    View on GitHub↗2,436
  • koush/androidasynckoush avatar

    koush/AndroidAsync

    7,540View on GitHub↗

    AndroidAsync is a non-blocking networking library for Android that provides asynchronous sockets, HTTP clients, and servers based on Java NIO. It serves as a toolkit for managing raw TCP socket connections and bidirectional data streams using an asynchronous input and output architecture. The library includes a dedicated WebSocket framework for establishing persistent full-duplex communication channels between Android clients and servers. It also enables the hosting of a lightweight asynchronous HTTP server directly on an Android device to handle incoming network traffic. Its broader capabil

    This is a Java-based networking library for Android, which does not provide the C# implementation or ASP.NET Core integration required for your .NET application.

    JavaNon-Blocking Socket I/O
    View on GitHub↗7,540
  • gobwas/wsgobwas avatar

    gobwas/ws

    6,463View on GitHub↗

    This Go library provides low-level components for implementing high-performance WebSocket connections. It focuses on minimal memory allocations and efficient data throughput via a dedicated frame processor, an HTTP connection upgrader, and a compression layer. The project distinguishes itself through the use of zero-allocation buffer reuse to reduce garbage collection pressure. It operates directly on raw network bytes for frame parsing and manages the lifecycle of connections through state-based tracking. The library covers core network protocol capabilities including the transformation of

    This is a high-performance WebSocket library for the Go ecosystem, but it does not provide the C# implementation or ASP.NET Core integration required for your .NET application.

    GoWebSocket Implementations
    View on GitHub↗6,463
  • oatpp/oatppoatpp avatar

    oatpp/oatpp

    8,553View on GitHub↗

    Oatpp is a high-performance C++ web framework and API development kit used for building REST APIs and web services. It functions as an asynchronous HTTP server that utilizes coroutines to handle thousands of simultaneous connections without blocking threads. The toolkit includes a native C++ object-relational mapping layer for executing SQL queries and transforming database results into data objects. It also provides a WebSocket communication library for establishing full-duplex channels to support real-time data streaming and live media. The framework covers a broad range of capabilities, i

    This is a C++ web framework rather than a C# library, making it incompatible with the .NET ecosystem requirements specified in your search.

    C++WebSocket Implementations
    View on GitHub↗8,553
  • boostorg/beastboostorg avatar

    boostorg/beast

    4,801View on GitHub↗

    Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an asynchronous networking framework designed to compose non-blocking I/O operations and layered stream stacks for managing concurrent network traffic, specifically utilizing the Boost.Asio asynchronous model. The library provides a comprehensive implementation of the HTTP/1.1 and WebSocket protocols. For HTTP, it includes primitives for parsing and serializing messages with support for chunked transfer encoding, incremental body reading, and request pipelining. Its WebSocket implementati

    This is a C++ library for low-level networking, which does not provide the native C# or ASP.NET Core integration required for a .NET-based WebSocket implementation.

    C++WebSocket Implementations
    View on GitHub↗4,801

Related searches

  • a lightweight javascript library for websockets
  • a lightweight library for Java WebSockets
  • a library for implementing WebSockets in Rust
  • a WebSocket library for real-time servers in Go
  • a php library for building websocket servers
  • a library for implementing gRPC in C#
  • a C# library for making HTTP requests
  • a message queue library for C#