Last Updated: February 25, 2016
·
2.122K
· iondrimba

Improve your productivity with Code Generation and T4 Text Templates

In Visual Studio, a T4 text template is a mixture of text blocks and control logic that can generate a text file. The control logic is written as fragments of program code in Visual C# or Visual Basic. The generated file can be text of any kind, such as a Web page, or a resource file, or program source code in any language.

Introduction:

http://migre.me/cSRzy

Generating code for yout ASP.NET MVC Projects:

http://migre.me/cSREO

I highly recommend you spend some time to understand how it works and you will see the amount of time you will gain in your future projects.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside