T4MVC is a T4 template for ASP.NET MVC apps that creates strongly typed helpers that eliminate the use of literal strings in many places.
e.g. instead of
@Html.ActionLink("Delete Dinner", "Delete", "Dinners", new { id = Model.DinnerID }, null)
T4MVC lets you write
@Html.ActionLink("Delete Dinner", MVC.Dinners.Delete(Model.DinnerID))
and that's just the beginning!
- Install T4MVC in your MVC app using NuGet
- Watch: watch an 8 minute intro video on Channel 9
- Learn: visit the Documentation page
- Install a VS Extension to automatically rerun T4MVC on build. You can use AutoT4MVC or Chirpy.
- Discuss: Discuss it on GitHub
- Contribute: learn how on the Contributor page
- News: Follow David Ebbo on Twitter to get T4MVC announcements.
- History & release notes: change history
- Twitter quotes: cool things people are saying on Twitter here
T4MVC is part of the MvcContrib project, which is part of the Outercurve Foundation