ASP.NET Web API Outside of IIS
In this chapter, I’ll go beyond the classic scenario of hosting ASP.NET Web API on IIS. ASP.NET Web API, despite its name, is entirely independent from the ASP.NET runtime. You can embed Web API into almost any .NET process, namely console applications or Windows services, as well as class libraries that can be plugged into an existing pre-defined architecture in Microsoft Azure.
The goal of this chapter is to provide a compact, yet comprehensive overview of the various options that are available to you. You will learn how to do the following: