Net web api in a console application, using owin to self-host the web api framework. Owin decouples the web application from the server, which makes owin ideal for self-hosting a web application in your own process, outside of iis.
This sample demonstrates how to implement a self-hosted service in a console application. Config and modified to configure a base address, which the host uses.
How to Self Host ASP.NET Web Api CodeOpinion
Budibase allows you to self-host your web applications on your own infrastructure.