Use OWIN to Self-Host ASP.NET Web API 2 [team]

posted in: API, Architecture, Platform | 0

http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api

Use OWIN to Self-Host ASP.NET Web API 2

This tutorial shows how to host ASP.NET Web API in a console application, using OWIN to self-host the Web API framework.

Open Web Interface for .NET (OWIN) defines an abstraction between .NET web servers and web applications. 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.

 

Check out this “Hello Owin” tutorial.

http://www.aaron-powell.com/posts/2012-03-14-hello-owin.html

 

Better yet look at this repo

https://github.com/danesparza/OWIN-WebAPI-Service

Leave a Reply