Skip to content

Features

Frameworks

GenHTTP provides several frameworks to develop and host web services (e.g. service classes, controller-style or functional-style). Additionally, you can easily host static websites or a single page app. Besides this, the framework comes with a rich set of features:

  • Automatically generated Open API specifications
  • Various authentication methods (e.g. API key, JWT, Client Certificates or Basic Auth)
  • Support for Websockets and Server Sent Events (SSE)
  • Automatic response compression and request decompression
  • Client caching directives and automatic eTag handling
  • Range support to fetch byte ranges
  • Security relevant features (such as automatic redirection to HTTPS)

Server Performance

According to HTTP Arena, GenHTTP is currently the fastest web server for HTTP/1.1. The following excerpt shows how GenHTTP compares to other C# servers in the field:

FrameworkScore (Composite H1)
genhttp-ioxide6211
genhttp4088
simplew3671
genhttp-kestrel2992
carter2978
aspnet-minimal2715
fastendpoints2660
sisk2047
servicestack237

According to those numbers, stock GenHTTP is 1.5 times faster then ASP.NET Core Minimal API in a mixed challenge with different use cases and usage scenarios.

Footprint

Applications developed with the GenHTTP SDK are optimized for low disk space and memory requirements. A basic application will consume about 30 MB of memory and 50 MB of disk space when running in Docker.

The website of the GenHTTP webserver running in docker

Security

The GenHTTP webserver uses the default security mechanisms that ship with .NET. This results in a good security grade of A+ as reported by SSL Labs.

Security analysis of the GenHTTP website

see SSL Labs Server Test