1. Main
  2. Post
  3. Self Hos

Self Hos

Self Hos

This tutorial shows how to host a web api inside a console application.

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.

Self Hos

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.