HTTP on the Client in .NET: From WebRequest to SocketsHttpHandler
summary
A history and practical guide to HTTP client APIs in .NET, tracing evolution from WebRequest in .NET Framework to SocketsHttpHandler in .NET 5. Covers HTTP/1.1, HTTP/2/3 support, migration concerns when moving apps from .NET Framework/.NET Core to .NET 5, performance pitfalls and useful hacks, and evaluates popular NuGet HTTP wrapper libraries for efficiency and cross-platform suitability.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 4:26What is HTTP and where it's used
- 7:40HTTP client problems
- 11:39HTTP API zoo in .NET
- 14:51HTTP clients in .NET Framework and .NET Core
- 20:36HTTP client wrappers and flaws
- 26:43Choosing HTTP API correctly
- 28:55RestSharp and Flurl overview
- 33:35HTTP/2.0 and HTTP/3.0
- 38:15HTTP/2.0 in .NET and compatibility
- 43:43Protocol versions and checks
- 46:36Low-level HTTP client workings
- 51:35DNS and network optimizations
- 55:14HTTPS and certificate checks
- 57:42Performance limits and settings
- 58:25Summary and recommendations
- 1:00:10Q&A








