CHAPTER 19

image

Controller Extensibility

In this chapter, I am going to show you some of the advanced MVC features for working with controllers. I start this chapter by exploring the parts of the request handling process that lead to the execution of an action method and demonstrating the different ways to take control of it. Figure 19-1 shows the basic flow of control between components.

9781430265290_Fig19-01.jpg

Figure 19-1. Invoking an action method

My focus for the first part of this chapter is the controller factory and the action invoker. The names of these components ...

Get Pro ASP.NET MVC 5, Fifth 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.