Manning Early
Access Program
Metaprogramming in .NET

EARLY ACCESS EDITION
Kevin Hazzard and Jason Bock

MEAP Began: May 2011
Softbound print: Summer 2012 | 400 pages
ISBN: 9781617290268

Pre-Order options*
Order today and start reading Metaprogramming in .NET today through MEAP        
  MEAP + Ebook only - $35.99
  MEAP + Print book (includes Ebook) when available - $44.99
* For more information, please see the MEAP FAQs page.
  About MEAP Release Date Estimates    

Table of Contents, MEAP Chapters & Resources

Table of Contents         Resources 
Part 1 Demystifying Metaprogramming
  1. Metaprogramming concepts - FREE
  2. Exploring code and metadata with Reflection - AVAILABLE

Part 2 Techniques for Generating Code
  3. The Text Template Transformation Toolkit - AVAILABLE
  4. Generating Code with the CodeDOM - AVAILABLE
  5. Generating Code with Reflection.Emit - AVAILABLE
  6. Generating Code with Expressions - AVAILABLE
  7. Generating code with IL rewriting - AVAILABLE

Part 3 Using scripting languages in .NET
  8. The Dynamic Language Runtime
  9. Embedding Scripting Languages in Your Application
10. Writing a Custom DLR Binder

Part 4 Languages and Tools
11. Relevant languages and tools
12. Managing the .NET compiler - AVAILABLE
 

DESCRIPTION

The performance and functionality of a program depends a great deal on its runtime environment, which can vary a great deal from session to session. Metaprogramming is a style of software development that incorporates runtime information into its decision-making. Metaprogramming techniques like reflection and code generation can make your software more adaptive and reusable. The .NET Framework exposes many metaprogramming capabilities including code generation systems, application composition frameworks, and scripting technologies.

Metaprogramming in .NET is designed to help readers understand the basic concepts, advantages and potential pitfalls of metaprogramming. It introduces core concepts in clear, easy-to-follow language and then it takes you on a deep dive into the tools and techniques you'll use to implement them in your .NET code. You'll explore plenty of real-world examples that reinforce key concepts. When you finish, you'll be able to build high-performance, metaprogramming-enabled software with confidence.

WHAT'S INSIDE

Readers should be comfortable with C# and the .NET framework. No prior experience with metaprogramming is required.

About the Authors

Kevin Hazzard is a consultant, entrepreneur and Microsoft MVP based in Richmond, Virginia. He co-founded the Richmond Software Craftsmanship Group and runs the Richmond Code Camp. Kevin has served multiple terms on Virginia's Joint Commission on Technology and Science as an advisor to the Commonwealth's governors and legislatures.

Jason Bock is a Principal Consultant for Magenic and a Microsoft MVP. He is a leader of the Twin Cities Code Camp and runs the Twin Cities Languages User Group Jason is the author of four books and many articles on software development.

About the Early Access Version

This Early Access version of Metaprogramming in .NET enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online

Want to learn More?

Sign up to read more content when it is released and to receive news about this book.