C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Anshu Kulhade(4)
Ajay Yadav(3)
Deepak Middha(3)
Aarav Patel(2)
Sandeep Sharma(2)
Rajesh Gami(2)
Ashish Bhatnagar(2)
Shenbagapandiyan P(2)
Abhishek Dubey(2)
Patrick Lam(2)
Saurabh Nandu(2)
Kanchana Jayathilake(1)
Vikas Singh(1)
Rajesh Thangarasu(1)
Rohit Rao(1)
Niharika Gupta(1)
Rikam Palkar(1)
Harshit Pandey(1)
Sarthak Varshney(1)
Mrunali Sawant(1)
Nagaraj M(1)
Arindam Dawn(1)
Parth Patel(1)
Mehreen Tahir(1)
Nirav Daraniya(1)
Sibeesh Venu(1)
Nilesh Jadav(1)
Abhishek Jain(1)
Shivprasad (1)
Anand Thakur(1)
Jim Peterson(1)
TH Mok(1)
Neelam Iyer(1)
Bill Farley(1)
Dottys (1)
Gautam Singh(1)
Manav Pandya(1)
Aman Gupta(1)
Devesh Omar(1)
Tural Suleymani(1)
Vikas Gupta(1)
Sanjay Kumar(1)
Priyam Patel(1)
Dennis Thomas(1)
Mahsa Hassankashi(1)
Syed Shanu(1)
Ripon Datta(1)
Jean Paul(1)
Sanjoli Gupta(1)
Kirtan Patel(1)
Zoran Horvat(1)
DallAglio (1)
Rafal Wozniak(1)
Sateesh Arveti(1)
Yuancai Ye(1)
Ganesh Sundaram(1)
mayevski (1)
Michael Marasco(1)
Tin Lam(1)
Leonid Molochniy(1)
Rajesh VS(1)
Jibin Pan(1)
Christian Hanssom(1)
John Schofield(1)
Pramod Singh(1)
Resources
No resource found
Offensive Socket Security in .NET: Weaponizing C# Parsers - State Desynchronization over TCP (Phase 05A)
Apr 24, 2026.
A critical mistake in .NET network programming is treating a continuous TCP stream like a discrete message queue. Discover how Parser State Desynchronization can lead to authorization bypasses in custom protocols. This deep-dive explores the underlying mechanics of socket state management, provides a C# proof-of-concept, maps to real-world CWEs, and outlines the exact architectural patterns needed to secure enterprise systems.
How to Use HttpClientFactory in .NET Core to Avoid Socket Exhaustion
Apr 14, 2026.
Learn how to use IHttpClientFactory in .NET Core to prevent socket exhaustion and improve performance. Discover named & typed clients, resilience with Polly, and best practices.
Offensive Socket Security in .NET: ThreadPool Starvation and the Silent DoS (Phase 03 of 16)
Apr 13, 2026.
Uncover ThreadPool starvation in .NET! Learn how attackers exploit blocking sockets for silent DoS attacks, bypassing traditional monitoring. Secure your apps now!
Offensive Socket Security in .NET: FIN vs RST — Blind Success Conditions (Phase 02 of 16)
Apr 09, 2026.
Understand how TCP RST affects transaction integrity in .NET socket systems. Learn how connection lifecycle assumptions create Blind Success conditions, leading to duplicate execution and data inconsistency—and how to fix them with idempotent design.
Offensive Socket Security in .NET: State Contamination (Phase 01 of 16)
Apr 07, 2026.
A deep-dive into offensive .NET socket security. Phase 01 demonstrates how treating a TCP connection as an identity boundary leads to state contamination and cross-request privilege escalation. Includes C# exploit PoC and architectural fix strategies.
Fix Exchange Hybrid Error: Socket Code 10061 Fix Guide
Aug 06, 2025.
Fixing Exchange Hybrid Deployment Error: Socket code 10061 occurs when a connection to port 25 is refused. Learn how to troubleshoot firewalls, connectors, IPs, and HCW issues to restore mail flow.
Building a Simple Socket Listener in .NET Core
May 20, 2024.
In this article, we'll walk you through the process of setting up a basic socket listener using .NET Core. You'll learn how to create a Socket instance, bind it to an endpoint, and handle incoming connections and data.
Sending Large Files Over A Network Socket Using C#
Jul 30, 2022.
This article describes how to send large files (GB) to other devices over a network socket in chunks.
IHttpClientFactory In .NET Core To Avoid Socket Exhaustion
Sep 02, 2020.
Learn how to effectively use HttpClient and IHttpClientFactory in .NET Core applications. Avoid common pitfalls of creating new HttpClient instances per request, leading to socket exhaustion. Discover how IHttpClientFactory manages HttpMessageHandler lifetimes, ensuring efficient API calls and resource management.
Applied Secure Socket Layer in .NET: Part 2 Installation and Testing
Oct 28, 2014.
This article is resuming the voyage by covering the applied aspect of SSL on .NET website via IIS webserver along with the creation of digital certificates.
Secure Socket Layer in .NET
Oct 27, 2014.
This article explains the Secure Sockets Layer (SSL) including the inherent issue of web server security and the process of SSL configuring and implementing in the form of digital certificates over an ASP.NET website.
Applied C#.NET Socket Programming
Oct 20, 2014.
This article explains the key networking concepts, for instance ISO stack, of TCP/IP under the C# framework by employing its essential socket classes and how applications can logically and physically be distributed in a network environment.
Introduction To Socket Programming In Java
Jun 10, 2013.
In this article, we discuss socket programming in Java.
Datagram Socket Listener Windows Store App
Dec 31, 2012.
How to create Windows Store Apps for Datagram Socket Listener using JavaScript.
Web Socket in Windows Store Apps
Oct 20, 2012.
In this article I described how to create a Windows Store App to to use a Message Web Socket to send UTF-8 strings using JavaScript.
How to Implement Real-Time Features Using WebSockets and Socket.IO?
Mar 18, 2026.
Learn how to implement real-time features in web applications using WebSockets and Socket.IO. Build chat apps, live notifications, and more with instant data updates.
GraphQL with .NET & React | Part 4: Real-Time Data with Web Sockets
Feb 19, 2026.
Learn to implement real-time data updates in your .NET & React GraphQL app using subscriptions and WebSockets. Build a live library app with HotChocolate & Apollo!
Building Real-Time Applications with WebSockets
Dec 12, 2025.
A detailed guide to building real-time applications with WebSockets in Angular, covering architecture, services, RxJS, security, scaling, and best practices. Includes practical examples for chat and dashboard applications. Ideal for senior developers looking to implement production-ready real-time apps
What is WebSocket and How It Works
Sep 05, 2025.
Discover WebSockets, the technology powering real-time web applications. Learn how they enable two-way communication between clients and servers, unlike traditional HTTP. Explore the handshake process, persistent connections, and benefits like low latency and improved user experience.
Socket Class and ServerSocket Class in Java Networking
Sep 16, 2024.
TCP/IP sockets are the most reliable, bi-directional, stream protocols. It is possible to send arbitrary amounts of data using TCP/IP. Sockets are used for data communication using this protocol.
How To Creating a Live Chat App Using Socket.IO and Node.js
Jun 13, 2024.
Discover how to create a real-time chat app with Socket.IO and Node.js. This tutorial guides you through setting up the server, building the frontend, and enabling instant messaging between users. Ideal for modern web development, enhancing user interaction, and building scalable network applications.
How Secure Sockets Layer (SSL) Protects Data Online?
May 07, 2024.
Learn how SSL works in a step-by-step guide for beginners and professionals, ensuring secure internet communication and data protection.
How Secure Sockets Layer Works?
Apr 08, 2024.
SSL (Secure Sockets Layer) and TLS (Transport Layer Security) protocols establish encrypted connections between clients and servers, ensuring secure online communication by encrypting data and verifying server identities.
Building a Real-Time Chat App with Node.js and Socket.io 🚀
Feb 04, 2024.
Embark on a magical journey to build a real-time chat app using Node.js and socket.io. Follow simple steps to set up the server, create a chat UI, and handle real-time communication.
WebSocket Communication Using Python
Jan 30, 2024.
In this article, we will create and understand WebSocket communication. WebSockets facilitate bidirectional communication in contrast to traditional REST APIs, enabling multiple messages over a single TCP connection. This Python tutorial uses WebSockets and asyncio to implement client-server communication.
Real-Time Communication Made Easy: Demonstrating Web Sockets with Angular
May 22, 2023.
This article demonstrates how to implement web sockets in an Angular project to enable real-time communication. It covers the basics of web sockets, setting up an Angular project, establishing a web socket connection, sending and receiving data, handling errors and disconnections, and considerations for scaling and security. By following the provided code examples and best practices, developers can create responsive and interactive applications that leverage the power of web sockets.
Tic-Tac-Toe Online Game Using ReactJS and NodeJS (Socket.io)
Mar 30, 2020.
In this article, we will learn how to make a tic-tac-toe online game using React JS as a front end and Node JS (Socket.io) as a backend server.
Socket Programming In C++ Using boost.asio - TCP Server And Client
Oct 28, 2018.
This article will help you getting started with socket programming in C++. We'll be building TCP server and client using boost.asio library.
Socket.io Programming With Example In Node.js
Dec 08, 2017.
Hello every one today I will explain about socket.io in Node JS
Creating A Chat Application In Node.js With Express, MongoDB, Mongoose And Socket.io
Dec 05, 2017.
This article guides you through the process of creating a chat application in NodeJS with MongoDB as the backend, utilizing Mongoose for MongoDB models and Socket.io for real-time communication between clients. It covers setting up the Node application, creating an Express app, handling database interactions.
How To Make A Chat Application Using Sockets In Java
Apr 17, 2017.
Creating a chat application in Java involves utilizing sockets for network communication between client and server. Implementing input/output streams facilitates message exchange. Multi-threading ensures simultaneous handling of multiple clients.
HTML 5 Web Sockets
Sep 06, 2013.
HTML 5 introduced a new specification for Bi-Directional communication or Full Duplex connection between the server and the client
Socket Closing Windows Store Apps
Dec 19, 2012.
In this article I described how to create a Windows Store App for Closing the Socket using JavaScript.
Multithreaded Sockets (Multithreaded Server) and Working With URL Class
Feb 22, 2012.
In this article, we describe the basic need of creating a Multithreaded server and what is the URL class and its methods. We also give examples of Multithreaded server and URL classes method.
.NET 4.0 MEF FAQ (Socket, Plug and Extension)
Sep 03, 2010.
This FAQ deep dives in to .Net 4.0 MEF fundamentals (Import and Export) and also explains when to use MEF over DI / IOC. This article also explains step by step on how to use MEF in various technologies like Silverlight, WPF and ASP.NET.
Set up Secure Sockets Layer (SSL) using Digital Certificates
Mar 06, 2007.
This article explains how to secure an IIS Web application using SSL certificates.
Portscanning for Kazaa using C# Sockets
Jan 01, 2006.
In this article, you will learn how to write c# code to scan a host computer, and determine if it is running Kazaa, the popular P2P file sharing program.
Peer-To-Peer Chat Program Using Asynchronous Socket
Mar 22, 2002.
Discover the essence of peer-to-peer chat through asynchronous sockets. Learn to design interfaces, implement real-time messaging, and ensure security for seamless communication in decentralized networks.
Socket Programming
Oct 01, 2001.
This is a simple Client/Server program showing the communication taking place between the client and the server.
Socket Chat
Sep 24, 2001.
This is an implementation of a Chat program using sockets. Along with basic chat capability,
Socket Programming In C#
Sep 03, 2001.
Learn socket programming using C# and .NET.
The Complete Guide to Integrating Slack with OpenClaw (2026): The Steps Most AI Guides Miss
Mar 05, 2026.
Integrate Slack with OpenClaw (2026) for AI-powered automation! This guide provides a complete, production-ready workflow, avoiding common pitfalls and errors. Unlock AI DevOps monitoring and more!
Mini Chat App (SignalR Basics) – Angular + ASP.NET Core
Nov 26, 2025.
Build a real-time mini chat app with Angular and ASP.NET Core SignalR! This tutorial covers backend setup, Angular integration, and deployment considerations. Learn SignalR basics!
Real-Time Insights With Node.js
Sep 29, 2025.
Discover how Node.js empowers real-time applications with instant updates, live dashboards, and interactive experiences. Explore its event-driven architecture, WebSocket support, and scalability for building responsive systems. Learn to ingest, process, and deliver data at high speed, creating applications that feel alive and genuinely helpful. Dive into practical examples with Socket.IO, streaming data, and real-time analytics.
The Java.NET Package
Jan 25, 2025.
The Java.NET package provides classes for implementing networking functionality in Java. It supports TCP, UDP, and HTTP protocols, enabling tasks like creating sockets, managing URLs, sending/receiving data, and handling network connections.
Power of Web APIs: 12 Essential APIs for Java Developers
Oct 11, 2024.
Staying updated with essential web APIs is vital for developers to build efficient, scalable, and user-friendly applications. This article explores key APIs, including Geolocation, Web Workers, and Web Sockets, with Java examples.
Understanding HttpClient Best Practice
Sep 02, 2024.
Creating a new HttpClient instance frequently can lead to performance issues like socket exhaustion due to open sockets lingering in the TIME_WAIT state. Instead, reuse a singleton HttpClient instance to avoid these issues.
Configure SSL for Grafana on Azure
Jul 01, 2024.
Learn how to configure SSL for Grafana on Azure to secure your monitoring and analytics dashboard. Follow step-by-step instructions to set up HTTPS, manage certificates, and ensure data encryption for enhanced security in your cloud environment.
Encryption for Data Security: Creating Digital Certificates
May 06, 2024.
Encryption secures data by converting it into unreadable ciphertext using algorithms and keys, preventing unauthorized access. SSL/TLS certificates enable secure communication between websites and users, validating identity and encrypting data transmission
Establishing Communication Between Executable Files Using TCP/IP
Mar 19, 2024.
WPF apps use various IPC methods like Named Pipes, WCF, TCP/IP Sockets. TCP/IP sockets offer cross-platform communication with advantages like reliability but face complexity and firewall issues. Steps include server/client development, execution instructions. Use CommonHelper for collaboration.
SignalR Best Practices
Sep 01, 2022.
In this article, you will learn about SignalR real-time communication Best practices.
Real-Time Chat Application
Mar 01, 2021.
A real-time chat application with Node.js server.
Sending An HL7 Message, Receiving It Using A Listener And Sending An Acknowledgement Back
Dec 15, 2017.
HL7 (Health Level Seven) is a set of standards, formats and definitions for the exchange, integration, sharing, and retrieval of electronic health information. The HL7 standards are produced by the HL7 International, international standards developing organization.
NodeJS By .Net Platform
Jul 07, 2016.
In this article you will learn about NodeJS By .Net Platform.
Atlas Copco PowerFocus (3000/4000) Nutrunner Tools Ethernet Communication Using C#.Net
Jul 03, 2013.
The main purpose of this article is the result of when I started the Nutrunner tool communication program it was like a blank page.
How To Make a Chat Application in C#
Jun 24, 2013.
In this article I will show you how to make a chat application in C#,
URL and URLConnection Classes In Java
Jun 11, 2013.
In this article, we discuss the URL and URLConnection classes in Java.
SharePoint 2010 - Create SSL Enabled Site
Aug 16, 2012.
As part of development activities we might need to create a SSL enabled site inside SharePoint 2010. These sites will be accessed using HTTPS instead of HTTP.
Networking in JAVA
Feb 20, 2012.
In this article, we are exploring networking using TCP/IP protocols and try to make a small server and clients and show some information.
How to Secure a Web Site Using SSL
Jan 18, 2012.
Secure communication is an integral part of securing your distributed application to protect sensitive data, including credentials, passed to and from your application, and between application tiers.
Check if Email Address Really Exist or not Using C#
Dec 23, 2011.
This article demonstrate basic technique for checking if particular email is exist or not. using SMTP protocol specifications in RFC 821.
Web Service Design for Chunked Transfer of Large Quantities of Data
Aug 18, 2011.
In this article we are going to demonstrate design techniques which can be used to produce such Web service. Solution which will be developed along the course of this text is for demonstration purpose only and cannot be applied to practical, real world problems as is. But we hope that methods used to develop it can be applied to much more complex cases.
Printing in C#
Aug 05, 2010.
This application will send raw data to a networked printer.
How to create proxy server between application and remote host
Feb 22, 2010.
This article will show how to create proxy-like server that will stand between application (client) and its remote server using asynchronous sockets.
Introduction to Parametric Singleton Pattern
Feb 11, 2009.
This article explains about Parametric Singleton Pattern.
Glue IIS with Business Logical Tier using Batching, Asynchrony, and Parallel Computation
Oct 26, 2005.
A great and unusual way to boost your web application performance and scalability five times or more.
How to synchronize data in Pocket PC and main database
Oct 06, 2004.
The main objective of the article is to present how to synchronize the data between the Pocket PC database and main database using Pocket PC Emulator and Web Service in .NET
Distributed Cross Platform Applications, the Easy Way
Mar 07, 2003.
There are many ways of transferring data from one process to another. All those methods have some advantages, but also some drawbacks.
IP LookUp Program in .NET
Apr 03, 2002.
This is an IP look up program that uses C# Windows Forms and IPHostEntry to resolve the DNS request.
Multi-threaded Web Applications - Case II: Port Scanner
Mar 12, 2002.
This article continues the 4-parts series of Multi-threaded Web Applications. In the first part, I have demonstrated how you can use multi-threading with ASP.NET to make a web based search engine more responsive, and to reduce the time required to compose the result. In this article, I will demonstrate how you can apply the same technique to a web based port scanner.
Simple Sniffer in C#
Dec 03, 2001.
This program shows you how to retrieve data from a packet using Sockets.
Network Programming in C# - Part 2
Nov 12, 2001.
This is the second part of the series of articles about the network programming with C#.
WinChat For .NET
Oct 10, 2001.
WinChat For .NET is a simple peer-to-peer chatting program that functions very similarly to the WinChat program provided by Windows 2000. It provides all the functionalities that the original WinChat program provides.
Real Time Application
Oct 02, 2001.
The Real time Application is a sample that shows the communication techniques between a client (TcpClient) and a server (TcpServer) application using Socket class on each side. The project also demonstrates how to using listview control in the real time project.
A Simple Multi-threaded TCP/UDP Server and Client V2.
Sep 24, 2001.
This is the second version of my client/server program. The server and the client can be run on the same machine or on different machines. The following is the brief description of the server and the client programs specifically.
WhoIs Sample Code
Aug 27, 2001.
Sample example shows you how to implement WhoIs...
TCP/IPLib Sample
Jun 22, 2001.
This compopnent contains both a TCP/IP server and client. TcpIpClient inherits from System.Net.Sockets.TCPClient and is very straight forward. After construction, specifying the host and port, a network connection is established by calling Connect(). Internally, upon a successful connection, the client receives a TcpIpPacket, which contains a unique cookie that is used in any subsequent transactions.
FTP Server in C#
Mar 26, 2001.
The application is a simple implementation of FTP Protocol RFC 959.
FileSharing Server in C# and .NET
Feb 01, 2001.
The server acts as a File Sharing Server, it listens for multiple clients to connect to it. The Clients have a option to either Download any of the Files available with the server for download.
TCP Date Client/Server
Jan 03, 2000.
Free to use Tutorials on Communicating using TCP Sockets on Microsoft's .NET Platform using C#...