File Upload

JumpKick.HttpLib — File Upload Overview File upload is implemented with Http.Post() + .Upload(), using the multipart/form‑data format for local file uploads;Core class: NamedFileStream(form‑field name, file name, MIME type, file stream) …

POST Requests

JumpKick.HttpLib — POST Requests 1. Overview of Available Request Methods (Http Static Class) Unified fluent structure: RequestMethod().ParameterConfig().OnSuccess().OnFail().Go(); 2. Two Parameter‑Passing Modes for POST 3. Example 1: Form Submission 4. Example …

GET Requests

JumpKick.HttpLib — GET Requests 1. Basic Syntax 1: Minimal Working Request (no exception handling) Without OnFail, any network error will crash your program with a popup error dialog 2: Success …

Overview

Brief Introduction to HttpLib (C# .NET Framework) 1. Library Overview HttpLib (by James Thorne) is a .NET HTTP request helper library released under the Apache 2.0 License. It simplifies asynchronous …

Dapper Stored Procedures

Create MySQL Stored Procedure Call the Stored Procedure Stored Procedure Returning Result Sets Use .Query<T>() when your stored procedure returns query data Dapper Stored Procedures

Dapper delete operation

Original note: Entity deletion generally relies on a unique Id; core SQL pattern: DELETE … WHERE PrimaryKey=Value The example below is vulnerable to SQL injection Standard Parameterized Implementation Pass Parameters …

Update operation

Original note: The update workflow is similar to inserts; write your UPDATE SQL and add a WHERE clause so only target rows get modified. Example Standard Parameterized Implementation Partial‑field Only …

Insert

Dapper Insert Operations Example Notes Retrieve Auto‑Increment Primary Key ID for New Records (MySQL) If the student table has an auto‑increment primary key Id, fetch the ID of the newly‑added …

First example

Dapper supports many databases. We will use MySQL as our example here. You need to have MySQL installed on your system beforehand. Once MySQL is installed, create a new database. …

Introduction & Installation

1. What Is Dapper Dapper is a .NET Micro ORM, widely known as the “King of Micro ORMs”, delivering performance close to raw ADO.NET. ORM: Object‑Relational Mapper, handles automatic mapping …

CAS Implementation

Implementation Idea of Legacy CAS Version Core Principle (CAS 1.0 Protocol) web.config Configuration Modern CAS server enforces HTTPS by default. casUrl must be set to https://127.0.0.1:8443/cas/ CasEnter.aspx Page Source 1. …

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 …