Skip to content

Example application which demonstrates how to use features switches / features flags in .NET 9.

License

Notifications You must be signed in to change notification settings

rafalbielec/feature-switches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Feature switches / Feature flags

This is an example solution which demonstrates how to use features switches / features flags in .NET 9. The solution uses both the Microsoft approach to feature flags as well as the OpenFeature NuGet package which you can find here: OpenFeature.dev.

The article

The blog article for this solution is located at https://rafalbielec.com/blog/02_feature_switches.

API URLs

How to run

cd src
dotnet restore
dotnet build
dotnet run --project FeatureSwitches
dotnet run --project OpenFeatureApp
dotnet run --project OpenFeatureProvider

IL disassemblers to check compiler trimming

AvaloniaILSpy IlDasm2

MultiRun helper tool to run multiple projects at once with one command

git clone https://github.com/zacharyMcSweenManickchand/MultiRun.net.git
cd MultiRun.net
dotnet build -c Release && dotnet pack -c Release
dotnet tool install --global --add-source ./nupkg mrn --version 1.0.0
mrn .

About

Example application which demonstrates how to use features switches / features flags in .NET 9.

Topics

Resources

License

Stars

Watchers

Forks

Languages