Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Jon Takes Five with David Ebbo on T4MVC

Download

Right click “Save as…”

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:

Follow the Discussion

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

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

  • silvercruxsilvercrux SilverCrux.​com

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

  • PerfectPhasePerfectPhase "This is not war, this is pest control!" - Dalek to Cyberman

    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?

  • Very good VS Addin, Thanks!

     

    Eelco @ sEVen Software

  • Go HTML5 please!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

  • jason gohjason 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

  • RajcziRajczi

    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?

  • RajcziRajczi

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

  • Strongly type-ing is king!

Remove this comment

Remove this thread

close

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.