O'Reilly logo

ASP.NET Web API 2: Building a REST Service from Start to Finish by Brian Wortman, Jamie Kurtz

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 2

image

What Is RESTful?

This chapter explores what a service following the REST architectural style should look like to a caller. Considering that such an API is supposed to better leverage the HTTP protocol and its various aspects, focusing on HTTP verbs and resources, its interface will be markedly different from your typical RPC-style API. So, as we design the service, we will compare the REST approach with a more traditional RPC or SOAP approach.

Throughout this book, we will be working on a service for managing tasks. It’s not terribly exciting; however, the lack of domain excitement will let you focus on the technical aspects of the ...

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