CHAPTER 2

image

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:

  • Self-host ASP.NET Web API using the WCF hosting adapter (Recipe ...

Get ASP.NET Web API 2 Recipes: A Problem Solution Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.