O'Reilly logo

ASP.NET MVC 2 in Action by Matthew Hinze, Eric Hexter, Jimmy Bogard, Ben Scheirman, Jeffrey Palermo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 25. Customizing Visual Studio for ASP.NET MVC

This chapter covers

  • Creating custom T4 templates
  • Using custom T4 templates
  • Exporting a custom test project template
  • Adding custom test project templates

Tooling within Visual Studio can make building ASP.NET MVC applications faster. Any task that we perform over and over is a candidate for automation and tooling. A computer can perform a task faster and with more accuracy than a human can, especially when the task is performed repeatedly. We’ll look at two quick ways of customizing these tools, specifically the controller, view, and project generators.

25.1. Creating custom T4 templates

T4 (Text Template Transformation Toolkit) is a little-known feature of Visual Studio. It’s a code-generation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required