Feature Flags in C# / .NET

Add toggly to your web project

Install the Toggly.FeatureManagement.Web package

Install-Package Toggly.FeatureManagement.Web

Register the services

using Toggly.FeatureManagement.Web.Configuration;
services.AddTogglyWeb(options =>
    {
        options.AppKey = builder.Configuration["Toggly:AppKey"];
        options.Environment = builder.Configuration["Toggly:Environment"];
    });

Now your application is connected to toggly, and you can start to use feature flags, run A/B experiments and collect usage metrics.

Feature flags come in with a variety of helpers to handle each situation.

Last updated