Skip to content
Artwork for CyberSecurity Summary
CyberSecurity Summary · Today · 22 min

Metaprogramming in .NET

Introduces techniques for writing code that processes or generates other programs. The authors explore foundational concepts such as reflection, code generation, and dynamic objects to help developers reduce software complexity and increase reusability. Detailed chapters cover specialized tools like the CodeDOM for building source code graphs and expression trees for in-memory compilation. Additionally, the text examines the Dynamic Language Runtime (DLR) and Microsoft's Roslyn compiler API as modern methods for creating adaptable applications. Through practical examples like "Hello World" generators and data binding logic, the sources demonstrate how to manipulate metadata and IL at runtime. Ultimately, the book aims to transition programmers from imperative "how-to" commands toward more flexible, declarative programming styles. You can listen and download our episodes for free on more than 10 different platforms: https://linktr.ee/cyber_security_summary Get the Book now from Amazon: https://www.amazon.com/Metaprogramming-NET-Kevin-Hazzard/dp/1617290262?&linkCode=ll2&tag=cvthunderx-20&linkId=8780cdbc5cba09389df940d6c3497eb0&language=en_US&gaOptInStatus=true&ref_=as_li_ss_tl Discover our free courses in tech and cybersecurity, Start learning today: https://linktr.ee/cybercode_academy

0:00-22:35

transcript

No transcript — this publisher did not publish one.

show notes

Introduces techniques for writing code that processes or generates other programs. The authors explore foundational concepts such as reflection, code generation, and dynamic objects to help developers reduce software complexity and increase reusability. Detailed chapters cover specialized tools like the CodeDOM for building source code graphs and expression trees for in-memory compilation. Additionally, the text examines the Dynamic Language Runtime (DLR) and Microsoft's Roslyn compiler API as modern methods for creating adaptable applications. Through practical examples like "Hello World" generators and data binding logic, the sources demonstrate how to manipulate metadata and IL at runtime. Ultimately, the book aims to transition programmers from imperative "how-to" commands toward more flexible, declarative programming styles.

You can listen and download our episodes for free on more than 10 different platforms:
https://linktr.ee/cyber_security_summary

Get the Book now from Amazon:
https://www.amazon.com/Metaprogramming-NET-Kevin-Hazzard/dp/1617290262?&linkCode=ll2&tag=cvthunderx-20&linkId=8780cdbc5cba09389df940d6c3497eb0&language=en_US&gaOptInStatus=true&ref_=as_li_ss_tl

Discover our free courses in tech and cybersecurity, Start learning today:
https://linktr.ee/cybercode_academy
links3