Lussatite.FeatureManagement 1.6.3

dotnet add package Lussatite.FeatureManagement --version 1.6.3                
NuGet\Install-Package Lussatite.FeatureManagement -Version 1.6.3                
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="Lussatite.FeatureManagement" Version="1.6.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lussatite.FeatureManagement --version 1.6.3                
#r "nuget: Lussatite.FeatureManagement, 1.6.3"                
#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.
// Install Lussatite.FeatureManagement as a Cake Addin
#addin nuget:?package=Lussatite.FeatureManagement&version=1.6.3

// Install Lussatite.FeatureManagement as a Cake Tool
#tool nuget:?package=Lussatite.FeatureManagement&version=1.6.3                

Lussatite.FeatureManagement

Lussatite.FeatureManagement

A lightweight implementation of the Microsoft.FeatureManagement IFeatureManager interface. The dependencies are a list of feature name strings and an ordered set of ISessionManager instances. When a feature flag value is requested, the ISessionManager instances will be polled in order until one returns a definitive answer (true/false).

  • If the feature name was not registered via the constructor, the LussatiteFeatureManager instance will always return false.
  • The order of ISessionManagers matters, each takes priority over later ones.
  • The ISessionManager should return null if it does not have a definitive answer. This allows layering.
  • This LussatiteFeatureManager implementation will not write back to the ISessionManager instances via SetAsync(string featureName, bool enabled).

Lussatite.FeatureManagement.LazyCache

A lightweight implementation of the Microsoft.FeatureManagement IFeatureManagerSnapshot interface. When a feature flag value is requested, the ISessionManager instances will be polled in order until one returns a definitive answer (true/false).

Because this is a caching implementation, the first value read by the LussatiteLazyCacheFeatureManager instance will continue to be the value returned for the life of the instance. Even if a new value is registered in one of the ISessionManager instances.

  • If the feature name was not registered via the constructor, the LussatiteLazyCacheFeatureManager instance will always return false.
  • The order of ISessionManagers matters, each takes priority over later ones.
  • The ISessionManager should return null if it does not have a definitive answer. This allows layering.
  • This LussatiteLazyCacheFeatureManager implementation will not write back to the ISessionManager instances via SetAsync(string featureName, bool enabled).

It uses LazyCache under the hood.

CacheAllFeatureValuesAsync()

The non-standard Task CacheAllFeatureValuesAsync() method can be used after construction to poll all ISessionManager instances for values for each feature name registered within the LussatiteLazyCacheFeatureManager instance. This sets the values of all known features at the time of the call.

Target

  • .NET Standard 2.0

References

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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  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 tizen40 was computed.  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 (3)

Showing the top 3 NuGet packages that depend on Lussatite.FeatureManagement:

Package Downloads
RimDev.AspNetCore.FeatureFlags

A library for strongly typed feature flags in .NET Standard 2.0.

Lussatite.FeatureManagement.SessionManagers

A set of ISessionManager implementations for .NET Standard 2.0 which return boolean null/true/false values.

Lussatite.FeatureManagement.SessionManagers.Framework

A set of ISessionManager implementations for .NET Framework 4.8 which return boolean null/true/false values.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.6.3 8,104 6/29/2022
1.6.2 3,076 6/28/2022
1.6.1 1,149 6/28/2022
1.6.0 1,567 6/15/2022
1.5.0 1,146 6/9/2022
1.4.1 1,748 5/24/2022
1.4.0 655 5/24/2022
1.3.1 664 5/23/2022
1.3.0 647 5/22/2022
1.2.0 394 5/20/2022
1.1.0 406 5/19/2022
1.0.0 421 5/16/2022
0.2.1 433 5/15/2022
0.2.0 4,143 5/14/2022
0.1.1 429 5/12/2022
0.1.0 422 5/11/2022