Ninja MVC Tips

There were a few cool references in a recent talk by Scott Hanselman, and I wanted to capture them:

  • T4MVC is a mvccontrib project that auto-creates strongly-typed, intellisensible links to Actions, Views, and Controllers in your MVC project. No more “strings” in your ActionLinks.
  • nhaml is a view engine replacement that has one of the most elegant replacements for html syntax I’ve seen yet. Not sure how it fits into my new jquery templated world, but it’s sexy.
  • Compiled Views: setting a simple directive in your csproj file to true can save you a bunch of deployment hassle.