Toggly.FeatureManagement 2.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Toggly.FeatureManagement --version 2.7.0
                    
NuGet\Install-Package Toggly.FeatureManagement -Version 2.7.0
                    
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="Toggly.FeatureManagement" Version="2.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Toggly.FeatureManagement" Version="2.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Toggly.FeatureManagement" />
                    
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 Toggly.FeatureManagement --version 2.7.0
                    
#r "nuget: Toggly.FeatureManagement, 2.7.0"
                    
#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.
#:package Toggly.FeatureManagement@2.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Toggly.FeatureManagement&version=2.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Toggly.FeatureManagement&version=2.7.0
                    
Install as a Cake Tool

ASP.NET Core Feature Flag Extensions for Hangfire

To simplify the use of Hangfire with feature flags, we created a set of extensions for ASP.NET Core. The extensions allow you to easily configure Hangfire to use feature flags to enable or disable background jobs.

Installation

dotnet add package Toggly.FeatureManagement.Hangfire

Before

var featureStateService = app.Services.GetRequiredService<IFeatureStateService>();
            
featureStateService.WhenFeatureTurnsOn(FeatureFlags.HourlyJob, () =>
{
    //start a service or job
    RecurringJob.AddOrUpdate<ITestRecurringJob>("Hourly job", s => s.RunAsync(), Cron.Hourly());
});

featureStateService.WhenFeatureTurnsOff(FeatureFlags.HourlyJob, () =>
{
    //stop a service or job
    RecurringJob.RemoveIfExists("Hourly job");
});

After

var featureStateService = app.Services.GetRequiredService<IFeatureStateService>();
featureStateService.AddOrUpdateJob<ITestRecurringJob>(FeatureFlags.HourlyJob.ToString(), "Hourly job", s => s.RunAsync(), Cron.Hourly());
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 was computed.  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 is compatible. 
.NET Standard netstandard2.1 is compatible. 
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 (5)

Showing the top 5 NuGet packages that depend on Toggly.FeatureManagement:

Package Downloads
Toggly.FeatureManagement.Storage.RavenDB

Provides a RavenDB implementation for feature snapshot storage. The application falls back to snapshot storage if it can't reach toggly.io

Toggly.FeatureManagement.Web

Adds filters for Browser Family, Browser Language, Country, OS and User Claims and a default implementation for HTTP context targeting that support users and groups

Toggly.Metrics.SystemMetrics

Toggly.Metrics.SystemMetrics extends the Toggly feature management library by adding support for capturing performance metrics. Capture performance counters, giving you valuable insights into the performance of your application.

Toggly.FeatureManagement.Hangfire

Provides extensions to control hangfire jobs using feature flags via toggly.io

Toggly.FeatureManagement.Storage.DistributedCache

Provides a DistributedCache implementation for feature snapshot storage. The application falls back to snapshot storage if it can't reach toggly.io

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.10.0 1,657 2/11/2025
2.9.0 210 1/29/2025
2.8.2 1,619 9/23/2024
2.8.1 2,982 5/30/2024
2.8.0 263 5/29/2024
2.7.6 295 5/28/2024
2.7.5 3,094 1/22/2024
2.7.4 1,251 11/27/2023
2.7.3 3,803 5/3/2023
2.7.2 2,004 3/3/2023
2.7.1 729 3/3/2023
2.7.0 729 3/3/2023
2.6.1 661 2/27/2023
2.6.0 1,061 2/13/2023
2.5.5 836 2/10/2023
2.5.4 1,135 2/5/2023
2.5.3 725 2/5/2023
2.5.2 827 1/31/2023
2.5.1 749 1/30/2023
2.5.0 740 1/30/2023
2.4.1 728 1/12/2023
2.4.0 745 1/9/2023
2.3.0 688 1/8/2023
2.2.11 714 1/4/2023
2.2.10 715 1/4/2023
2.2.9 709 1/4/2023
2.2.8 346 1/4/2023
2.2.7 352 1/4/2023
2.2.6 348 1/4/2023
2.2.5 724 1/4/2023
2.2.4 768 12/31/2022
2.2.3 1,107 12/29/2022
2.2.2 726 12/29/2022
2.2.1 732 12/29/2022
2.2.0 687 12/28/2022
2.1.19 661 11/29/2022
2.1.18 700 11/27/2022
2.1.17 621 11/27/2022
2.1.16 674 11/14/2022
2.1.15 2,608 8/19/2022
2.1.14 1,129 8/7/2022
2.1.13 898 8/7/2022
2.1.12 892 8/5/2022
2.1.11 1,918 7/22/2022
2.1.10 941 7/21/2022
2.1.9 1,073 7/14/2022
2.1.8 943 7/14/2022
2.1.7 952 7/7/2022
2.1.6 1,002 7/6/2022
2.1.5 1,065 6/20/2022
2.1.4 898 6/20/2022
2.1.3 934 6/19/2022
2.1.2 923 6/16/2022
2.1.1 899 6/16/2022
2.1.0 1,031 6/15/2022
2.0.2 971 6/9/2022
2.0.1 938 6/7/2022
2.0.0 892 6/5/2022
1.9.3 2,523 5/7/2022
1.9.2 1,026 5/4/2022
1.9.1 987 5/3/2022
1.9.0 990 5/3/2022
1.8.0 760 4/26/2022
1.7.3 789 4/24/2022
1.7.2 764 4/24/2022
1.7.1 745 4/24/2022
1.7.0 789 4/24/2022
1.6.5 635 4/23/2022
1.6.4 630 4/22/2022
1.6.3 1,480 3/30/2022
1.6.2 666 3/28/2022
1.6.1 629 3/27/2022
1.5.0 1,377 1/30/2022
1.4.1 556 1/16/2022
1.4.0 412 1/15/2022
1.3.0 440 1/14/2022
1.2.0 494 12/26/2021
1.1.0 456 12/22/2021
0.1.0 619 11/27/2022