Language

Web API Routing and Actions

In this chapter, you'll learn:
How ASP.NET Web API routes HTTP requests to controllers and actions.

  1. Routing in ASP.NET Web API

    By Mike Wasson|

    This article describes how ASP.NET Web API routes HTTP requests to controllers.

  2. Routing and Action Selection

    By Mike Wasson|

    Describes the routing process in more detail, from route matching to action selection.

  3. Error and Exception Handling

    By Mike Wasson|

    This tutorial describes error handling, exception filters, and the HttpResponseException class.

  4. Attribute Routing in Web API 2

    By Mike Wasson|

    Web API 2 introduces a new form of routing that uses attributes to define routes. This topic gives an overview of attribute routing.

  5. Create a REST API with Attribute Routing

    By Mike Wasson|

    This end-to-end tutorial shows how to use attribute routing to define URIs for a REST API.

Web API Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET Web API

Pro ASP.NET Web API

by Tugberk Ugurlu, Alexander Zeitler

Designing Evolvable Web APIs with ASP.NET

Designing Evolvable Web APIs with ASP.NET

by Glenn Block, Pablo Cibraro, Pedro Felix, Howard Dierking, Darrel Miller

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

by Jamie Kurtz