O'Reilly logo

ASP.NET MVC in Action with MvcContrib, NHibernate, and More by Jimmy Bogard, Jeffrey Palermo, Ben Scheirman

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 6. Customizing and extending the ASP.NET MVC Framework

This chapter covers

  • Customizing route handlers

  • Creating your own controller factory

  • Extending the controller

  • Decorating controller actions for additional behavior

  • Building and using custom view engines

One of the greatest aspects of ASP.NET MVC is its flexibility. The majority of the framework is built upon interfaces and abstract base classes, which enables unit testing of components in isolation. This also gives us the ability to substitute our own implementations of these features. ASP.NET MVC comes with functional default implementations, but sometimes these don’t meet our needs. Sometimes we don’t agree with the choices that Microsoft bakes in, and by customizing these components we ...

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