Visual Studio 2010 Code Generation
Code generation techniques have been around for some time now and have allowed developers to write applications with more consistency in their code and to write that code more efficiently. Since Visual Studio 2005 one such technique available to developers is the code snippet and we’ll look at the anatomy of the code snippet and you’ll discover that code snippets are almost as easy to write as they are to use. We’ll also look at several other techniques for code generation from using the StringBuilder class to using Xml and Xslt transformations to the powerful new features in Visual Studio 2010 around the T4 template language. We'll then explore how T4 templates can be used within Visual Studio 2010 to customize entities within the Entity Framework and to generate code from UML diagrams.
- Not Interested