Mar 112010
ASP.NET MVC 2 supports Spark!
What? hear me out. The release of ASP.NET MVC 2 includes an amazing hidden gem. You see the “Add View/Controller” dialog now takes into account a T4 directive “output extension”.
Getting started with Custom CodeTemplates
To get started with Custom CodeTemplates check out this excellent article by K. Scott Allen
Getting started with Custom CodeTemplates and Spark
- At the top of your templates add the output extension as shown below.
- Modify the template to use spark.












