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 3

image

Designing the Sample REST API

Thus far, you’ve learned some basic principles of the REST architecture using the HTTP protocol, and you’re now ready to start developing your task-management service. First, you’ll need to take some time to carefully build up tables of resource types, their available HTTP actions, and associated URIs. This design step is important, similar in kind to the importance of patiently and intentionally modeling a database. It pays to think it through and get it right. And, as you walk through the different resource types, you’ll begin examining some code.

You may recall from the previous chapter that a programmer ...

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