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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.