Working with Action Methods

  • Adam Freeman


In this chapter, you’ll turn your attention to action methods—the critical part of a controller that allows us to respond to a request. I’ll show you how to get the most from action methods, starting with the different kinds of object an action method can return and the effect they have on the MVC framework. I’ll also show you how to pass data from an action method to a view, how to disambiguate action methods with the same name, and how to deal with unhandled exceptions that arise in action methods.


Action Method Index Method Child Action Error Handler View Model 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman 2011

Authors and Affiliations

  • Adam Freeman

There are no affiliations available

Personalised recommendations