Skip to main content

3 posts tagged with "C#"

View All Tags

Using ConfigCat Feature Flags in ASP.NET Core Web API

· 9 min read
Emil Kovačević
Code hard, debug harder.
Chavez Harris
Build. Break. Learn. Repeat.

ASP.NET Core APIs often need to change behavior without requiring a new deployment. You might want to release functionality to a small group of users, make a feature available only to certain subscription tiers, or quickly disable a problematic change.

Feature flags make this possible by letting you change behavior remotely without modifying and redeploying your code.

In this tutorial, we'll build a simple ASP.NET Core Web API and use a ConfigCat feature flag to control if it returns a two-day or five-day weather forecast. Then, we'll add a targeting rule so only users on a premium subscription receive the full forecast.

Feature Flags in ASP .NET Core Web API cover

How to Use Feature Flags in ASP.NET Core MVC

· 12 min read
Roxana Halați
I'm pretty cool, but I cry a lot.
Chavez Harris
Build. Break. Learn. Repeat.

Want to enable or disable features in your ASP.NET Core MVC application without deploying new code? With feature flags, you can control which features users see and change their availability remotely.

In this tutorial, you'll learn how to implement feature flags in ASP.NET Core MVC using the ConfigCat .NET SDK. We'll build a simple application where a feature flag controls the visibility of a mailing list subscription button. You'll see how to integrate ConfigCat, evaluate a feature flag in an MVC controller, and conditionally render elements in a Razor view.

By the end, you'll be able to turn the button on or off directly from the ConfigCat Dashboard, without rebuilding or redeploying your application.

How to Use Feature Flags in ASP.NET Core MVC cover

Feature Flags in C#10 Using ConfigCat

· 6 min read
Roxana Halați
I'm pretty cool, but I cry a lot.

Improving your digital product over time is a sure way to keep your target audience engaged and your business running smoothly. Rewarding specific users, such as loyal customers, can be an effective way of increasing customer loyalty and brand recognition.

In this article, I’m exploring how feature flags can be used in a C#10 console application for simple user targeting and feature management, while walking you through an easy-to-reproduce example.

Feature Flags in CSharp Cover