Chapter 16. Extending the controller
- Understanding the controller extensibility points
- Discovering the requirements for an action
- Using action selectors
- Creating custom action results
- Reducing controller complexity with action results
You now know all the basics of ASP.NET MVC, and you understand all the parts necessary to build compelling web applications. Let’s go further. The ASP.NET MVC framework has a number of extensibility points built in, and this chapter focuses on those that can be used in controller classes. Not only does extending the controller provide flexibility, it also reduces complexity.
We’ll cover how the basic notion of a controller provides for extension. Then we’ll explore how to extend actions ...