Compile-time feature flags in C# using IL weaving and a Roslyn analyzer
I got fed up of writing this everywhere: if (await _featureManager.IsEnabledAsync("SendWelcomeEmail")) { await SendWelcomeEmailAsync(user); } Not because it's hard. Because it's noise. It's the s
Jun 23, 20269 min read