
Source Generators in .NET: Build a Zero-Reflection Command Dispatcher
Part 2 of the Source Generators in .NET series: scan your codebase at compile time and generate a command dispatcher as a plain switch statement — no reflection, no DI container.
Tag archive

Part 2 of the Source Generators in .NET series: scan your codebase at compile time and generate a command dispatcher as a plain switch statement — no reflection, no DI container.
![Source Generators in .NET: Build Your Own [AutoToString] From Scratch](https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2tnxwgl0mqb5wfxn932j.png)
Learn how .NET source generators work by building one step-by-step. Part 1 of a series covering compile-time code generation in C#.
Mastering C# Source Generators: Write Less Code, Do More As software developers, we're...
Introduction If you have ever added the Realm .NET Nuget to one of your projects, you have...
I’ve been working on an OSS project recently where I wanted to seamlessly redirect a call that a...
Let's speak about improvements that we can bring to the Dapper. Improvements in the 'quality of life'...

Imagine situation: company runs a business-critical application that was built when WCF was a hot topic. Over the years the code base has grown and became a hot mess. But … Continue reading “Calling WCF services from .NET Core clients”

Lately, I have been experimenting with source generation and got an idea. What if I build a...