Jon Takes Five with David Ebbo on T4MVC

Download this episode

Download Video


Jon talks to David Ebbo about the T4MVC, a T4 Template For ASP.NET MVC.

T4MVC is a T4 template for ASP.NET MVC apps that creates strongly typed helpers, which eliminate the use of literal strings when referring the controllers, actions, and views. It helps make your MVC code much more maintainable, and gives you intellisense where you normally would not have any.





Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      I have been using T4MVC a long time now. Love it !

      Good thing that the Channel9 is making people more aware of it.

    • User profile image

      Excellent Video. Having started MVC recently, I wasn't aware of it. I wish this becomes part of MVC 3!

    • User profile image

      I've found myself using T4 more and more these days, it's a great tool.  Anyone know if there is a good online repository for T4 scripts?

    • User profile image

      Very good VS Addin, Thanks!


      Eelco @ sEVen Software

    • User profile image
      Go HTML5 please!

      Your video doesn't play on mac, it asks for silverlight regardless if it's installed or not.
      Firefox 3.6.10 / Safari 5.0.2
      Silverlight Plug-In
      File: Silverlight.pluginVersion: 4.0.50401.0 4.0.50401.0

    • User profile image
      jason goh

      After 3 weeks learning & working with MVC 2, i almost want to give up due to the confusing source code, until i saw this tool. Brilliant, David!!!!
      Microsoft should hire u! ;)

    • User profile image

      Trying to pull this into a MVC3 project and getting blank output file for T4MVC.cs.  There are no errors or warnings I can find to point me at the issue to fix.  Any suggestions?

    • User profile image

      @Rajczi:Looks like there is an issue with the GetMvcVersion function.  If I hard code it to return 3, it generates the classes.

    • User profile image

      Strongly type-ing is king!

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.