Dev.to
6/25/2026

The People v. ASP.NET Core: A C#-Only HTTP Benchmark Trial
Short summary
A comprehensive HTTP benchmark compares GenHTTP, a community C# framework, against Microsoft's ASP.NET Core across 27 profiles. GenHTTP wins on HTTP/1.1 and WebSocket workloads with 1.2x–2.4x performance advantage through architectural lean-ness, while ASP.NET prevails on HTTP/2 and HTTP/3 due to Kestrel's mature HPACK and QUIC stacks. For database-bound workloads, ASP.NET's async handling performs better; GenHTTP's lightweight handler model beats middleware overhead on simple workloads.
- •GenHTTP outperforms ASP.NET Core on HTTP/1.1 and WebSockets with 1.2x–2.4x throughput gains
- •ASP.NET wins on HTTP/2 and HTTP/3 through Kestrel's mature protocol implementations
- •Framework choice depends on workload type: GenHTTP for lightweight APIs, ASP.NET for complex protocols
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



