Skip to main content

9 posts tagged with ".NET SDK"

View All Tags

How to Use Feature Flags in Unity

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

Want to test a new gameplay feature in Unity without releasing it to every player? Feature flags let you enable or disable functionality, gradually roll out updates, and test new features with specific groups of players, all without deploying a new build.

In this tutorial, you'll learn how to use feature flags in Unity with C# and ConfigCat's .NET SDK. We'll use a simple game where a feature flag controls a robot's ability to automatically jump onto boxes, and you'll see how to enable or disable this behavior directly from the ConfigCat Dashboard.

How to use feature flags in Unity cover

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

Feature Flags in AWS Lambda with .NET: A Serverless Implementation Guide

· 17 min read
Musab Habeeb
Indecision is also a decision because you have decided not to decide.
Chavez Harris
Build. Break. Learn. Repeat.

Running feature flags in AWS Lambda requires a slightly different approach from using them in a traditional long-running application. Lambda execution environments can be created and discarded as demand changes, so caching and feature configuration need to account for cold starts and short-lived instances.

In this tutorial, we'll build a .NET AWS Lambda function that uses ConfigCat to control application behavior at runtime. We'll also add Redis as a shared cache, configure the ConfigCat SDK for Lazy Loading, and change the Lambda's behavior without redeploying it.

This pattern is particularly useful in microservices and other distributed systems, where deployment and release often need to happen independently. A service can be deployed with new code already in place while a feature flag keeps the new behavior disabled until you're ready to release it.

Feature Flags in Microservices and Serverless Architecture (with AWS Lambda and .NET)

A/B Testing in .NET: An ASP.NET Core Tutorial

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

A/B testing lets you compare two versions of a feature with real users and measure which one performs better. In an ASP.NET Core application, feature flags can handle which variation a user sees, while an analytics platform measures what happens afterward.

In this guide, we'll show you how to run an A/B test in ASP.NET Core using .NET 10, ConfigCat for experiment assignment, and Amplitude for analytics. We'll split users between two versions of an Add to Cart button and measure whether the change affects user behavior.

A/B test variations

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

How to Use ConfigCat's Feature Flags with Elmah

· 7 min read
Chavez Harris
Build. Break. Learn. Repeat.

With a well-implemented feature flagging solution in place, your end users' experience should not be interrupted during feature rollouts. If unforeseen bugs are later discovered in the new feature, you should be able to easily roll it back without redeploying your application. In my opinion, feature flags are most useful in situations like these and are becoming quite popular in the software industry for releasing and controlling existing features throughout many applications. Because of their flexible nature, feature flags can be integrated and used alongside existing technologies to enhance day-to-day operations.

using-configcat-feature-flags-with-elmah-cover

How to Use Feature Flags in a .NET MAUI Application

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

In the ever-changing world of programming, it can be difficult to keep up to date with all the latest technologies and frameworks. There's always something newer and cooler that you simply must try.

In this article, I'll guide you through the process of dipping your toes into the .NET MAUI framework and incorporating feature flags along the way. If you're already a seasoned .NET developer, this tutorial might reveal a couple of things you didn't know about feature flags, so don't hesitate to read on.

Cover Photo