Extending ASP.NET MVC

It is my pleasure to speak tonight at the SEVDNUG about extending ASP.NET MVC.  This talk grew out of an impromptu talk I gave at Desert Code Camp 2011.2.  The speaker didn’t show for a class titled “Real world MVC”, so I took it and ran with it.

In this talk we’ll look at some common and some less-common extension points for ASP.NET MVC:

  • Routes
  • Route Constraint
  • Html Helper
  • Action Filter
  • Value Provider
  • Action Result
  • Model Metadata Provider
  • Dependency Resolver

The goal is to keep your code DRY (Don’t Repeat Yourself), and many of these tools make it much easier to centralize cross-cutting concerns.

Grab the code and slides we’ll work with from here.