Skip to content

configcat-labs/feature-flags-in-dotnet-sample

Repository files navigation

Using ConfigCat's Feature Flags in an ASP.NET Core Application

Read the blog post here

This repository complements the guide on integrating ConfigCat's feature management service with an ASP.NET Core 8 web API service and the Options<T> pattern.

Build & Run

Prerequisites

  • Download and install the .NET 8 SDK.

  • Check if the installation was successful with the following command:

dotnet --version

Add your credentials

  1. Edit the appsettings.json file and add your ConfigCat SDK Key.

  2. Navigate to the ConfigCat dashboard and create new feature flag with the name myFeature.

Run

  1. Execute the following command to run the application and click the link printed to the terminal to launch the app in your browser:
dotnet watch
  1. Append /api/feature to the URL to see the status of the feature flag.

Learn more

Useful links to technical resources.

ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here.

You can also explore other code samples for various languages, frameworks, and topics here in the ConfigCat labs on GitHub.

Keep up with ConfigCat on X, Facebook, LinkedIn, and GitHub.

Authors

Alex

Chavez

Contributions

Contributions are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published