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 5

image

Up and Down the Stack with a POST

In the previous chapter, we started with an empty folder, created a basic source-tree structure, added a new Visual Studio 2013 solution, and added the projects we know we’ll need for this little REST service. We also added some of the more basic code components and set up the project and library references we anticipate needing. We wrapped things up by creating the database.

In this chapter, we will implement our first controller method (or “action method”). Along the way, we will need to deal with some of the more complex infrastructural concerns in the task-management service and highlight several ...

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