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

Get ASP.NET Web API 2: Building a REST Service from Start to Finish 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.