Design Considerations for ASP.NET MVC Applications
Play Design Considerations for ASP.NET MVC Applications
The controller is the central element of any operation you perform in ASP.NET MVC. The controller is responsible for getting posted data, executing the related action, and then preparing the view. More often than not, these apparently simple steps originate a lot of code. Worse yet, similar code ends up being used in similar methods, and similar helper classes sprout up from nowhere. In this session, we’ll explore an approach to ASP.NET MVC design that simplifies the implementation of the controller classes, mechanizing the required steps. Based on action-specific services, a controller limits talk to an additional layer in the business tier, with full separation of concerns and potentially unlimited extensibility thanks to IoC containers or MEF.