Jon Takes Five with David Ebbo on T4MVC

Download this episode

Download Video

Description

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.

Tags:

ASP.NET, MVC

Embed

Format

Available formats for this video:

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

    The Discussion

    • User profile image
      stun

      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
      silvercrux

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

    • User profile image
      PerfectPhase

      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
      Software​Develop

      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

      Hi,
      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! ;)
      Regards,
      Jason

    • User profile image
      Rajczi

      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

      @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
      iTrond

      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 continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.