It's OK to hardcode feature flags (2025)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Code Effects: AI-Ready .NET Business Rules Engine
Embed visual business rules in your .NET app with AI-assisted authoring, native VS debugging, blazing-fast compiled evaluation, and no SaaS dependency. FREE edition available.
codeeffects.com
sponsored
ReSharper is now available in VS Code and Cursor
ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide.
www.jetbrains.com
sponsored
  1. FeatureManagement-Dotnet

    Microsoft.FeatureManagement provides standardized APIs for enabling feature flags within applications. Utilize this library to secure a consistent experience when developing applications that use patterns such as beta access, rollout, dark deployments, and more.

    If you're working with C#, Microsoft added first class support for feature management in .Net with https://github.com/microsoft/featuremanagement-dotnet. It provides the logic for simple on/off, user targeting, percentage roll outs, and schedules. Using feature management along with flags hardcoded in `appSettings.json` makes perfect sense for a simpler application.

    When your architecture grows and you start needing to synchronize configuration across multiple applications, or have non-technical users change flags, then you've probably outgrown hardcoding and need to consider building (or buying) a service. You probably don't want product owners trying to set an env var like `FeatureManagement__NewFeature__EnabledFor__0__Name`. Azure App Configuration is the go to if you're willing to use Azure - it provides a nice UI for editing flags instead of dealing with JSON. Or, I've been building https://featureflags.app/ as an alternative provider if you prefer to steer clear of Azure. Its kinda the middle ground between hard coding and a full on platform like LaunchDarkly.

  2. Code Effects

    Code Effects: AI-Ready .NET Business Rules Engine. Embed visual business rules in your .NET app with AI-assisted authoring, native VS debugging, blazing-fast compiled evaluation, and no SaaS dependency. FREE edition available.

    Code Effects logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • MCP Python SDK Extension Method Collisions: Fail Before the Server Starts

    2 projects | dev.to | 11 Sep 2026
  • Show HN: We served 5k dynamic websites from a 2-vCPU, 4 GB VPS

    1 project | news.ycombinator.com | 10 Sep 2026
  • ReProgman: A clone of the Windows 3.1 Program Manager (progman.exe)

    1 project | news.ycombinator.com | 10 Sep 2026
  • Why Dataverse Plug-in Steps Drift — and Why Stable IDs Fix It

    3 projects | dev.to | 10 Sep 2026
  • Show HN: What if the speed of light was 5 km/h?

    2 projects | news.ycombinator.com | 9 Sep 2026

Did you know that C# is
the 12th most popular programming language
based on number of references?