Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Web Services with Windows Azure (new)

You're reading from   Building Web Services with Windows Azure (new) Quickly develop scalable, REST-based applications or services and learn how to manage them using Microsoft Azure

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781784398378
Length 322 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface Introduction FREE CHAPTER 1. Getting Started with the ASP.NET Web API 2. Extending the ASP.NET Web API 3. API Management 4. Developing a Web API for Mobile Apps 5. Connecting Applications with Microsoft Azure Service Bus 6. Creating Hybrid Services 7. Data Services in the Cloud – an Overview of ADO.NET and Entity Framework 8. Data Services in the Cloud – Microsoft Azure Storage 9. Data Services in the Cloud – NoSQL in Microsoft Azure Index

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 Microsoft.AspNet.WebApi.Host assembly contains the components to host a Web API using IIS. The HttpApplication object passes all Web API route requests to HttpControllerHandler. This handler is then used to process incoming Web API requests and transform them into HttpRequestMessage. The messages are then sent through the Message Handler chain of execution and finally to the controller to execute the appropriate...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime