O'Reilly logo

ASP.NET MVC 4 in Action: Revised edition of ASP.NET MVC 2 in Action by Foreword by Phil Haack, Jeffrey Palermo, Jimmy Bogard, Eric Hexter, Matthew Hinze, and Jeremy Skinner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required