O'Reilly logo

Building Web Services with Microsoft Azure by Nikhil Sachdeva, Stephen Kaufman, Alex Belotserkovskiy

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. Extending the ASP.NET Web API

The previous chapter was an introduction to the building blocks of a Web API. We discussed how easy it is to create and deploy an ASP.NET Web API using the tools available in Microsoft Visual Studio and Microsoft Azure. In this chapter, we look at some of the features provided by the ASP.NET Web API framework that allow us to customize the Web API pipeline and solve real-world problems.

Attribute routing

In Chapter 1, Getting Started with the ASP.NET Web API, we discussed HttpRoutingDispatcher and how we can define a route template in the WebApiConfig.cs file. This method is referred to as "convention-based routing". It allows developers to define multiple route templates at a global configuration level for ...

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