Practical Code Generation in .NET
Covering Visual Studio 2005, 2008, and 2010
Book Details:
Pages: | 375 |
Published: | Apr 26 2010 |
Posted: | Nov 19 2014 |
Language: | English |
Book format: | PDF |
Book size: | 5.19 MB |
Book Description:
'Once this skill is within your everyday comfort zone, it will give your productivity a boost and increase your value to your team. I encourage you to add the techniques outlined in this book to your toolset and to use them to develop your own workbench of generative tools. In doing so, I'm confident you'll improve your capabilities, and what's more, have fun doing so.' From the Foreword by Gareth Jones, Developer Architect, Visual Studio, Microsoft Enlist Visual Studio'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 tools--and this book shows you how to succeed with all of them. With Practical Code Generation in .NET , spend less time writing monotonous, repetitive code--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. You'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 more--including Microsoft'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 tool--even standard string handling functions Working with the specific features of C#, Visual Basic .NET, and ASP.NET Generating more concise code with .NET's new Text Template Transformation Toolkit (T4) Building code-generation solutions with Visual Studio templates, attributes, and custom tools Distributing code-generation solutions
Covering technique and implementation for building code for complex applications frameworks, this book demonstrates how to build high-quality output that is consistent and maintainable. Lessons on abstracting the design of the code so that multiple outputs can be created from a single abstract model of the application functionality are provided. Techniques that range from using simple code processors to handle common coding problems to creating more elaborate and complex generators that maintain entire application tiers are covered. Topics such as building database access, user interface, remote procedure, test cases, and business logic code are also addressed, as is code for other system functions. Although code generation is an engineering techniqu...
Practical Aspect-Oriented Programming
Summary AOP in .NET introduces aspect-oriented programming to .NET developers and provides practical guidance on how to get the most benefit from this technique in your everyday coding. The book's many examples concentrate on modularizing non-functional requirements that often sprawl throughout object-oriented projects. Even if you've never tried AOP before, you'll appreciate the straightforward introduction using familiar C#-based examples. AOP tools for .NET have now reached the level of practical maturity Java developers have relied on for many years, and you'll explore the leading options, PostSharp, and Castle DynamicProxy. About the TechnologyCore concerns that cut across all parts of your application, such as logging or authorization, are diff...
How the Next Generation of Net Promoter Can Increase Sales and Drive Business Results
How does a CEO, manager, or entrepreneur begin to sort out what defines and drives a good customer experience and how it can be measured and made actionable? If you know how well the customer experience is satisfying your customers and you know how to increase their satisfaction, you can then increase sales, return visits, recommendations, loyalty, and brand engagement across all channels. More reliable and more useful data leads to better decisions and better results. Innovating Analytics is also about the need for a comprehensive measurement ecosystem to accurately assess and improve the other elements of customer experience. This is a time of great change and great opportunity. The companies that use the right tools and make the right assessments ...
2007 - 2021 © eBooks-IT.org