CHAPTER 17

Image

Controller Extensibility

In this chapter, we are going to show you some of the advanced MVC features for working with controllers. We start this chapter by exploring the parts of the request processing pipeline that lead to the execution of an action method and demonstrating the different ways we can take control of this process. Figure 17-1 shows the basic flow of control between components.

Image

Figure 17-1. Invoking an action method

Our focus for the first part of this chapter is the controller factory and the action invoker. The ...

Get Pro ASP.NET MVC 4, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.