January 2013
Beginner to intermediate
756 pages
19h 59m
English
![]()
Every request that comes to your application is handled by a controller. The controller is free to handle the request any way it sees fit, as long as it doesn’t stray into the areas of responsibility that belong to the model and view. This means that we do not put business or data storage logic into a controller, nor do we generate user interfaces.
In the ASP.NET MVC Framework, controllers are .NET classes that contain the logic required to handle a request. In Chapter 3, we explained that the role of the controller is to encapsulate your application logic. This means that controllers are responsible for processing ...