Hosting
In Chapter 1, Getting Started with the ASP.NET Web API, we discussed the concept of a Host Listener. It listens for incoming requests, transforms them into an appropriate HttpRequestMessage
, and then sends it through the Web API MessageHandler
pipeline. The plug and play model of a Host Listener in the ASP.Net Web API provides considerable flexibility in determining how we want to host our Web API. There are two broad categories to host a Web API:
Type |
Description |
---|---|
Web or IIS hosting |
Web hosting refers to using the legacy ASP.NET pipeline in IIS for hosting the Web API. The |
Get Building Web Services with Microsoft Azure 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.