Working with Commands and Command Filters in SuperSocket 2.0

Introduction This tutorial explores the command-based architecture in SuperSocket 2.0. We'll examine how to implement custom commands and apply command filters for cross-cutting concerns such as logging and validation. The examples demonstrate a simple calculator service supporting basic artihmetic operations. Project Setup Create a .NET Core 3 ...

Posted on Sun, 27 Sep 2026 16:41:04 +0000 by tazdevil

SuperSocket 2.0 Server Startup via Configuration

1. Create the project Create a .NET Core console application in Visual Studio 2019, selecting .NET Core 3.1 as the target framework. Add the SuperSocket (2.0.0-beta.8) package via NuGet. 2. Add configuration file Place a appsettings.json file in the project root and set its Copy to Output Directory property to Copy if newer. // Configuration o ...

Posted on Fri, 04 Sep 2026 16:11:16 +0000 by Jakehh

Integrating SuperSocket WebSocket Server in ASP.NET Core Web API

To build a WebSocket server using SuperSocket in an ASP.NET Core Web API project, install the SuperSocket.WebSocket.Server NuGet package (referred to here as SuperWebSocket). This guide demonstrates how to embed and manage a WebSocket server within a .NET 5+ Web API application using version 2.0.0-beta.10 of the library. The approach assumes fa ...

Posted on Sun, 09 Aug 2026 16:53:19 +0000 by edwin_h

Integrating Unity Container with SuperSocket in WPF Applications

Configuring the Host BuilderTo enable Unity as the dependency injection framework for SuperSocket, begin by installing the Unity.Microsoft.DependencyInjection NuGet package. During the initialization of the server host, apply the UseUnityServiceProvider extension method to the IHostBuilder. This bridges the SuperSocket lifecycle with the Unity ...

Posted on Thu, 02 Jul 2026 16:59:26 +0000 by strangermaster

Implementing a Custom PipelineFilter in SuperSocket 2.0

This article walks through the implementation of a custom PipelineFilter in SuperSocket 2.0. The development environment is Windows 10, Visual Studio 2019, .NET Core 3.1, and SuperSocket 2.0.0-beta.8. 1. Project Creation Create a .NET Core console application using Visual Studio 2019 targeting .NET Core 3.1, and add the SuperSocket (2.0.0-beta. ...

Posted on Thu, 28 May 2026 18:30:21 +0000 by trippyd

Building a Telnet Server with SuperSocket 2.0

This tutorial demonstrates creating a basic Telnet server using SuperSocket 2.0 for handling simple arithmetic commands. Project Setup Create a new .NET Core 3.1 Console Application in Visual Studio 2019. Install SuperSocket Add the SuperSocket NuGet package (version 2.0.0-beta.8 or latter) to your project. Server Implementation using Microsoft ...

Posted on Sun, 17 May 2026 17:39:50 +0000 by theBond