CHAPTER 5

image

Configuration and Customization

This chapter deals with configuring some of the features of ASP.NET Web API, as well as improving its processing pipeline with a number of convenient customizations. In the recipes that you will find in this chapter, I will address and deal with several common roadblocks that you might encounter when building a custom Web API solution.

In this chapter you will learn how to do the following:

  • Apply rate limiting in ASP.NET Web API (Recipe 5-1)
  • Configure support for controllers from external assemblies (Recipe 5-2)
  • Apply controller-specific HttpConfiguration (Recipe 5-3)
  • Validate requests with action filters, ...

Get ASP.NET Web API 2 Recipes: A Problem Solution Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.