O'Reilly logo

ASP.NET MVC 4 in Action: Revised edition of ASP.NET MVC 2 in Action by Foreword by Phil Haack, Jeffrey Palermo, Jimmy Bogard, Eric Hexter, Matthew Hinze, and Jeremy Skinner

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 16. Extending the controller

 

This chapter covers
  • 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 ...

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