Don’t miss your chance to get Apress Access at $/€ 99 through Oct 29, 2019! Subscribe now >>

Code Generation with Roslyn

Authors: Harrison, Nick

Download source code Free Preview
  • A practical book that showcases wholesale code generation to speed up time to market and reduce the turnaround time in usually rapidly changing business logic demands 
  • A uniquely specific book on data modeling for business logic using Roslyn and .NET
    Author draws upon his own professional business development experience, for professionals by a professional
see more benefits

Buy this book

eBook $19.99
price for Mexico (gross)
  • ISBN 978-1-4842-2211-9
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for Mexico
  • ISBN 978-1-4842-2210-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

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'll 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

Who This Book Is For
Back end developers in very dynamic fast-paced business environments.   Developers focused on integrating different systems across an enterprise should also find this information useful.


About the authors

Nick Harrison is a Software Architect and .NET advocate in Columbia, SC. Nick has over 20 years experience in software developing, starting with Unix system programming and then progressing to the DotNet platform.

Table of contents (8 chapters)

Table of contents (8 chapters)
  • Introduction

    Pages 1-4

    Harrison, Nick

  • Putting Business Logic in Tables

    Pages 5-18

    Harrison, Nick

  • Pulling Table Driven Logic Into Code

    Pages 19-33

    Harrison, Nick

  • An Introduction to Roslyn

    Pages 35-53

    Harrison, Nick

  • Generating Code

    Pages 55-77

    Harrison, Nick

Buy this book

eBook $19.99
price for Mexico (gross)
  • ISBN 978-1-4842-2211-9
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for Mexico
  • ISBN 978-1-4842-2210-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Code Generation with Roslyn
Authors
Copyright
2017
Publisher
Apress
Copyright Holder
Nick Harrison
eBook ISBN
978-1-4842-2211-9
DOI
10.1007/978-1-4842-2211-9
Softcover ISBN
978-1-4842-2210-2
Edition Number
1
Number of Pages
XV, 105
Number of Illustrations
2 b/w illustrations, 13 illustrations in colour
Topics