Installation

Legacy Installation Guide‑ For CAS Versions Prior to 5.0 Dependencies 1. JDK Version: (JDK) Java 17Direct Link: Java Downloads | Oracle ⚠️ Note: JDK7 is outdated and only compatible with …

Introduction

Concepts 1. CAS CAS (Central Authentication Service)An open‑source Web SSO (Single Sign‑On) framework originated from Yale University. 2. SSO (Single Sign‑On) 3. Three Roles in the SSO Ecosystem 4. Three …

Continuous chat

The following implements bidirectional chat functionality using multithreading to prevent UI freezes. The WinForm implementation uses BackgroundWorker for loop‑based receiving on a separate thread, while message sending is triggered from …

Client‑Server Communication

Core Principles After a TCP connection is established, data is transferred via the NetworkStream;Networks can only transmit byte arrays byte[]. Text must first be encoded into bytes, then decoded back …

TcpClient

In this lesson, we will create a client and establish a connection from the client to the server. Combine the server‑side code from the previous lesson (TcpListener) with the client‑side …

Server‑Side Port Listening

Build the server‑side program, bind an IP address and port via TcpListener, start port listening and wait for incoming TCP connections from clients. Two implementation versions are provided: Console Application …

Overview

1. What is Socket Programming Analogy: Electrical outlet = network endpoint; plug = remote host; plugging in = establishing a network connection. To help you grasp these concepts, we will …

Stored Procedure Return

This section demonstrates calling stored procedures with ADO.NET: using ExecuteNonQuery to get the number of affected rows while capturing the stored procedure Return return value 1. Database Stored Procedure Definition …

SqlDataAdapter

C# ADO.NET Call Stored Procedure to Populate DataSet with SqlDataAdapter In the previous section we used SqlDataReader for forward‑only, read‑only streaming access. This section covers SqlDataAdapter, which loads stored procedure …