FeatureOne 5.0.1

dotnet add package FeatureOne --version 5.0.1
                    
NuGet\Install-Package FeatureOne -Version 5.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FeatureOne" Version="5.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FeatureOne" Version="5.0.1" />
                    
Directory.Packages.props
<PackageReference Include="FeatureOne" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FeatureOne --version 5.0.1
                    
#r "nuget: FeatureOne, 5.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=FeatureOne&version=5.0.1
                    
Install FeatureOne as a Cake Addin
#tool nuget:?package=FeatureOne&version=5.0.1
                    
Install FeatureOne as a Cake Tool

FeatureOne v5.0.1

GitHub Release License: MIT build-master CodeQL .Net .Net .Net

.Net Library to implement feature toggles.

Nuget Packages
Package Latest Details
FeatureOne NuGet version Provides core funtionality to implement feature toggles with no backend storage provider. Needs package consumer to provide IStorageProvider implementation. Ideal for use case that requires custom storage backend. Please see below for more details.
FeatureOne.SQL NuGet version Provides SQL storage provider for implementing feature toggles using SQL backend.
FeatureOne.File NuGet version Provides File storage provider for implementing feature toggles using File System backend.

Concept

What is a feature toggle?

Feature toggle is a mechanism that allows code to be turned “on” or “off” remotely without the need for a deploy. Feature toggles are commonly used in applications to gradually roll out new features, allowing teams to test changes on a small subset of users before releasing them to everyone.

How feature toggles work

Feature toggle is typically a logical check added to codebase to execute or ignore certain functionality in context based on evaluated status of the toggle at runitme.

In code, the functionality to be released is wrapped so that it can be controlled by the status of a feature toggle. If the status of the feature toggle is “on”, then the wrapped functionality is executed. If the status of the feature toggle is “off”, then the wrapped functionality is skipped. The statuses of each feature is provided by a store provider external to the application.

The benefits of feature toggles

The primary benefit of feature flagging is that it mitigates the risks associated with releasing changes to an application. Whether it be a new feature release or a small refactor, there is always the inherent risk of releasing new regressions. To mitigate this, changes to an application can be placed behind feature toggles, allowing them to be turned “on” or “off” in the event of an emergency.

Getting Started?

i. Installation

Install the latest nuget package as appropriate.

FeatureOne - for installing FeatureOne for custom IStorageProvider implementation.

NuGet\Install-Package FeatureOne

FeatureOne.SQL - for installing FeatureOne with SQL storage provider.

NuGet\Install-Package FeatureOne.SQL

FeatureOne.File - for installing FeatureOne with File system storage provider.

NuGet\Install-Package FeatureOne.File

ii. Developer Guide

Please see Developer Guide for details on how to implement schemio in your project.

Support

If you are having problems, please let me know by raising a new issue.

License

This project is licensed with the MIT license.

Version History

The main branch is now on .NET 8.0. The following previous versions are available: | Version | Release Notes | Developer Guide | | -------- | --------|--------| | v4.0.0 | Notes | Guide | | v3.0.0 | Notes | Guide | | v2.0.0 | Notes | Guide |

Credits

Thank you for reading. Please fork, explore, contribute and report. Happy Coding !! 😃

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FeatureOne:

Package Downloads
FeatureOne.SQL

.Net library to implement feature toggles with SQL storage.

FeatureOne.File

.Net library to implement feature toggles with File system storage.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.1 166 5/22/2025
5.0.0 123 11/23/2024
4.0.0 180 4/5/2024
3.0.0 281 6/27/2023
2.0.4 288 5/24/2023
2.0.0 243 5/22/2023
1.0.7 261 5/18/2023
1.0.0 296 12/9/2022 1.0.0 is deprecated.

Release Notes v5.0.1 Core Functionality :- Targets .Net Framework 4.6.2, .NetStandard 2.1 and .Net 9.0
     Library to Implement Feature Toggles to hide/show program features. Does not contain storage provider.
     - Provides Out of box Simple and Regex toggle conditions.
     - Provides extensibility for custom implementations ie.
     -- No storage exists by default. Requires `IStorageProvider` implementation to plugin in backend data store for stored features.
     -- Provides extensibility to implement custom toggle conditions for bespoke use cases.
     -- Provides extensibility for custom toggle deserializer for bespoke scenarios.