~/talk

Why and how build your own web server in C#

Talkat Conf42 Cloud Native 2025 · on Thursday, 2025-03-06· [nodejs, devops-and-delivery]
slides:none on file

Concrete claim: a minimal C# web server runs on .NET both on Linux and Windows and actually serves requests (hello world demo) using a simple HTTP parser and file responses. It implements a middleware pipeline with modular middleware, enforces connection limits and overload policies (return 500 or drop), exposes an admin module on port 4040 with basic auth and a script endpoint, and uses an execution-context logger per module so logs remain correct and actionable.

AI-written summary · about

  1. 0:00Introduction and Developer Journey
  2. 2:03Why Build Your Own Web Server?
  3. 4:00Understanding Web Server Basics
  4. 4:58Platform Challenges and Solutions
  5. 6:07Building the Web Server: Code Walkthrough
  6. 7:03Handling HTTP Requests and Responses
  7. 8:15Managing Connections and Middleware
  8. 17:06Administering and Operating the Web Server
  9. 25:27Logging and Execution Context
  10. 31:10Final Thoughts and Bonus Challenge
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.