Book

Metaprogramming in C#

Unlock the full potential of C# development with Metaprogramming in C#. Write better solutions that are easy to maintain, scale, and more secure. Discover advanced methods and approaches to automate tasks, generate code, and improve your productivity while taking your C# development skills to the next level.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

11h44m

Language

English

About Book

Who Is This Book For?

This book is for C# developers interested in learning about the .NET runtime and how to leverage it for writing maintainable, scalable, and secure code. Software architects who are responsible for designing and managing complex software solutions will also benefit from the book.

Book content

chapters 11h44m total length

Product Information Document

How Can Metaprogramming Benefit You?

Metaprogramming Concepts

Demystifying through Existing Real-World Examples

Reasoning about Types Using Reflection

Leveraging Attributes

Dynamic Proxy Generation

Reasoning about Expressions

Building and Executing Expressions

Taking Advantage of the Dynamic Language Runtime

Convention over Configuration

Applying the Open-Closed Principle

Go Beyond Inheritance

Applying Cross-Cutting Concerns

Aspect Oriented Programming

Roslyn Compiler Extensions

Generating Code

Static Code Analysis

Caveats and Final Words

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required