Title Statements
- Full title :Code generation with Roslyn / Nick Harrison.
Summary
Learn how Roslyn's new code generation capability will let you write software that is more concise, runs faster, and is easier to maintain. You will learn from real-world business applications to create better software by letting the computer write its own code based on your business logic already defined in lookup tables. Code Generation with Rosyln is the first book to cover this new capability. You will learn how these techniques can be used to simplify systems integration so that if one system already defines business logic through lookup tables, you can integrate a new system and share business logic by allowing the new system to write its own business logic based on already existing table-based business logic. One of the many benefits you will discover is that Roslyn uses an innovative approach to compiler design, opening up the inner workings of the compiler process. You will learn how to see the syntax tree that Roslyn is building as it compiles your code. Additionally, you will learn to feed it your own syntax tree that you create on the fly. What You Will Learn: • Structure logic to be stored in database design • Build complex conditional logic based on lookup data in the database • Compile code that you generate programmatically • Discover generated code and run it dynamically to implement new business logic • Debug problems in generated code • Deploy and access generated code.
Read More ↓Edition Statements
- Publication Date:©2017
Publication Statements
- Publisher(s):Apress
- Place of Publication:United States
- Language:eng
- Publication Date:©2017
Notes
Includes index.
The Physical Object
- Description:1 online resource : : illustrations
Edition Identifiers
- ISBN:9781484222119, 1484222113
- DOI:10.1007/978-1-4842-2211-9
- oclc:ocn974489151
- LC Classification:QA76.76.G46
- Dewey Decimal:005.4/5
Table of Contents
At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Chapter 1: Introduction; The Problem with Business Logic; Develop/Test Deploy Takes Time; Lookup Tables Are Easier to Modify, Verify, and Deploy; Lookup Tables Can Be Slow; Having Your Cake and Eating It Too; What Is Not Covered; Summary; Chapter 2: Putting Business Logic in Tables; A Catalog of Business Logic Tables; Simple Lookup Table; Lookup Tables with Multiple Input Parameters (Decision Tables); State-Specific Business Logic; Shipping Charges; Interactive Questionnaire.
Compound Decision TableExpression Decision Table; Summary; Chapter 3: Pulling Table Driven Logic Into Code; Overview; Treating Lookup Tables as Enums; Lookup Data; Code; Table-Driven Hello World; Data; Code; Automated Underwriting; Data Model; Data; Underwriting Rule; Loan Code Type; Loan Code; Underwriting Rule Detail; Code; Summary; Chapter 4: An Introduction to Roslyn; The Roslyn Pipeline; How Code Generation Fits In; Getting Started with Roslyn; Syntax API; Symbol API; Binding and Analysis API; Emit API; Generating Code; Summary; Chapter 5: Generating Code; Creating Enums; Hello World.
Automated UnderwritingSummary; …
Rate & Review