Practical Code Generation in .NET

Practical Code Generation in .NET

4.11 - 1251 ratings - Source

Enlist Visual Studioa€™s Built-in Code Generation Tools to Write Better Software Faster Automatic code generation can dramatically increase your productivity, improve code quality and maintainability, promote reuse, and help you extend best practices throughout your development organization. .NET and Visual Studio contain many powerful, code-generation toolsa€”and this book shows you how to succeed with all of them. With Practical Code Generation in .NET , spend less time writing monotonous, repetitive codea€”leaving more time to address troublesome areas! Microsoft MVP Peter Vogel covers code generation with Visual Studio 2010, 2008, and 2005, as well as all recent versions of .NET, including .NET 4.0. Youa€™ll learn when enlisting code generation makes sense and how to design solutions that build on the skills and resources you already have. Writing for experienced programmers, Vogel shows how to generate reliable code using procedural code, Visual Studio add-ins, XML, configuration files, and morea€”including Microsofta€™s innovative CodeDOM technology for generating code in multiple languages. He brings everything together in three complete, chapter-length case studies. Coverage includes Understanding the structure of .NET code-generation solutions and best practices for architecting them Creating Visual Studio add-ins that quickly integrate code generation into day-to-day activities Using objects and methods to add or remove project components Using text insertion to generate code using any toola€”even standard string handling functions Working with the specific features of C#, Visual Basic .NET, and ASP.NET Generating more concise code with .NETa€™s new Text Template Transformation Toolkit (T4) Building code-generation solutions with Visual Studio templates, attributes, and custom tools Distributing code-generation solutionsNET, because Visual Studio is a COM application and your custom tool is being invoked by Visual Studio directly, you must both register your tool ... settings, all youa#39;ll have to do is select Build from Visual Studioa#39;s menus to generate your DLL, register it with Windows, and install it in the GAC. ... In the Application tab, click the Assembly Information button and check the Make Assembly COM-Visible option.

Title:Practical Code Generation in .NET
Author:Peter Vogel
Publisher:Addison-Wesley Professional - 2010-04-16


You Must CONTINUE and create a free account to access unlimited downloads & streaming