Chapter 24. ASP.NET Web API

 

This chapter covers
  • Deciding to use Web API
  • Understanding the new runtime
  • Introducing the ApiController
  • Developing HTTP web services

 

In this chapter, we’ll use the Guestbook application that was introduced in chapter 2 as a foundation on which to build some Web API web services. Remember that the Guestbook is a simple application that will allow users to post their name and a message to the site, and to see the messages posted by other users. The application exposes these functions on normal web pages. Web API is a new way to write simple HTTP web services. We’ll re-implement the listing and posting features of the Guestbook application using Web API web services.

24.1. What is Web API?

Web API is a new ...

Get ASP.NET MVC 4 in Action 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.