Simple and lightweight, embeddable HTTP server written in pure C# with few dependencies to 3rd-party libraries. Compatible with .NET 6/7/8.
GenHTTP is a web server framework intended to create feature rich web applications and webservices in a short time using a .NET based development environment and IDEs such as Visual Studio.
Written in C# and provided as a .NET library package on nuget, with just a few dependencies. Host your local server instance with just one line of code.
The server API provides a simple, yet powerful, fully object-oriented module system to plug in your content. All modules follow best practices, e.g. in terms of security or SEO.
Embed the tiny engine into your existing dotnet application (e.g. Windows Forms, WPF, MAUI, WinUI, UWP, Uno, Unity or console) or host it via Docker. No configuration files or other magic.
Originally intended to run on a netbook with an Intel Atom processor, the server code is optimized to be fast and minimalistic, with low CPU and memory requirements.
All sources are available on GitHub under the MIT license. Contributions welcome.