Cargando…

Practical code generation in .NET : covering Visual Studio 2005, 2008, and 2010 /

"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'...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Vogel, Peter, 1953-
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Upper Saddle River, N.J. : Addison-Wesley, ©2010.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Ia 4500
001 OR_ocn608313226
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 100421s2010 njua ob 001 0 eng d
040 |a UMI  |b eng  |e pn  |c UMI  |d IDEBK  |d CEF  |d OCLCQ  |d DEBSZ  |d C6I  |d OCLCQ  |d OCLCF  |d OCLCQ  |d OCLCA  |d OCLCQ  |d YDX  |d OCLCA  |d OCL  |d AU@  |d OCLCQ  |d OCLCO  |d WYU  |d UAB  |d VT2  |d OCLCQ  |d OCLCO  |d UKAHL  |d CZL  |d OCLCO  |d OCLCQ  |d OCLCO 
019 |a 1048108830  |a 1048389862  |a 1064092419  |a 1103282350 
020 |a 9780321617620 
020 |a 0321617622 
020 |a 8131748790 
020 |a 9788131748794 
020 |z 9780321606785  |q (pbk. ;  |q alk. paper) 
020 |z 0321606787  |q (pbk. ;  |q alk. paper) 
029 1 |a DEBSZ  |b 355407647 
029 1 |a HEBIS  |b 291480284 
029 1 |a AU@  |b 000067112180 
035 |a (OCoLC)608313226  |z (OCoLC)1048108830  |z (OCoLC)1048389862  |z (OCoLC)1064092419  |z (OCoLC)1103282350 
037 |a CL0500000065  |b Safari Books Online 
050 4 |a QA76.76.G46  |b V65 2010 
082 0 4 |a 006.7/882  |2 22 
049 |a UAMI 
100 1 |a Vogel, Peter,  |d 1953- 
245 1 0 |a Practical code generation in .NET :  |b covering Visual Studio 2005, 2008, and 2010 /  |c Peter Vogel. 
260 |a Upper Saddle River, N.J. :  |b Addison-Wesley,  |c ©2010. 
300 |a 1 online resource (xiii, 344 pages) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
504 |a Includes bibliographical references and index. 
588 0 |a Print version record. 
520 |a "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."--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. 
505 0 |a Cover -- Contents -- Foreword -- Preface -- Acknowledgments -- About the Author -- Chapter 1 Introducing Code Generation -- Repetitive Code: Your History -- Copy-and-Paste -- General-Purpose Code -- Benefits of Code Generation -- When to Use Code Generation -- Best Practices in Code-Generation Solutions -- Code-Generation Process -- Code-Generation Tools -- Model-Driven Architecture, Declarative Programming, and Code Generation -- Model-Driven Architecture -- Declarative Programming -- PART I: TOOLS -- Chapter 2 Integrating with Visual Studio -- Design-Time Integration -- Starting Your Visual Studio Add-In -- Creating a Menu-Driven User Interface -- Working with Visual Studio Windows -- Responding to Events -- Accepting Input -- Integrating with Visual Studio -- Chapter 3 Manipulating Project Components -- The Code Model -- Managing Projects and Solutions -- Generating Code -- Modifying and Analyzing Components -- Processing Components in a File -- Working with Retrieved Elements -- Working with the CodeType Objects -- Storing Information -- Working with Project Components -- Chapter 4 Modifying Code in the Editor -- Opening and Closing Documents and TextDocuments -- Backing Out Changes -- Creating EditPoints to Access Text -- Retrieving Information -- Accessing Text with an EditPoint -- Working with Bookmarks -- Inserting, Replacing, and Formatting Text -- Inserting and Reading Text -- Chapter 5 Supporting Project-Specific Features -- Introducing the VSLangProj Libraries -- Managing a "Projectless" Website -- Project-Specific Features -- Chapter 6 Generating Language-Neutral Code -- A Comprehensive Example -- Declarations -- Defining Classes -- Class Members -- Statements and Expressions -- Code Structures -- When All Else Fails: Code Snippets -- Other Code Features -- Code Providers -- Generating Code. 
505 8 |a Chapter 7 Generating Code from Templates with T4 -- T4 in Visual Studio -- T4 Code-Generation Strategies -- Creating a T4 Template -- Extending T4 -- Invoking Templates from Code -- Leveraging Templates -- Chapter 8 Other Tools: Templates, Attributes, and Custom Tools -- Item Templates -- Attributes -- Generating Code from Custom File Formats -- Reviewing the Tools -- PART II: CASE STUDIES -- Chapter 9 Case Study: Generating a Connection String Manager -- Defining the Problem -- Setting Up the Add-In -- Creating the Code Generator -- Customizing the Template -- Generating Code -- Reading Input -- Notifying the Developer -- Supporting Customization -- Tying Generation to Events -- Generating a Simple Class -- Chapter 10 Case Study: Generating Validation Code -- Defining the Problem -- Starting the Code-Generation Project -- Wiring Up the Add-In -- Starting the Generation Utility -- Defining a Template -- Generating Code -- Specifying Code with the CodeDom -- Generating Code in the Target Language -- Supporting "Projectless" Websites -- Handling Errors -- Building a Complete Code-Generation Solution -- Chapter 11 Case Study: Generating Data-Conversion Code -- Defining the Problem -- Creating the Designer -- Enhancing Model Validation -- Generating Code -- Distributing Your Designer -- Visual Studio 2010 Additions -- Capturing Inputs -- PART III: APPENDIXES -- Appendix A: Generating Menu Names -- Appendix B: Options Dialog Categories, Subcategories, and Properties -- Appendix C: A Code-Generation Add-In -- Integrating Code-Generation Classes -- Appendix D: Distributing Code-Generation Solutions -- Creating the .vscontent File -- A Complete Example -- Installing the Solution -- Index. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
630 0 0 |a Microsoft Visual studio. 
630 0 0 |a Microsoft .NET Framework. 
630 0 7 |a Microsoft Visual studio.  |2 blmlsh 
630 0 7 |a Microsoft Visual studio  |2 fast 
630 0 7 |a Microsoft .NET Framework  |2 fast 
650 0 |a Code generators. 
650 6 |a Générateurs de codes. 
650 7 |a Code generators.  |2 blmlsh 
650 7 |a Microsoft .NET Framework.  |2 blmlsh 
650 7 |a Code generators  |2 fast 
776 0 8 |i Print version: Vogel, Peter, 1953-  |t Practical code generation in .NET.  |d Upper Saddle River, N.J. : Addison-Wesley, 2010  |z 9780321606785  |w (OCoLC)506248866 
856 4 0 |u https://learning.oreilly.com/library/view/~/9780321617620/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a Askews and Holts Library Services  |b ASKH  |n AH41056885 
938 |a YBP Library Services  |b YANK  |n 18073455 
938 |a Askews and Holts Library Services  |b ASKH  |n AH37972307 
938 |a YBP Library Services  |b YANK  |n 14858694 
938 |a YBP Library Services  |b YANK  |n 15629936 
994 |a 92  |b IZTAP