Lussatite.FeatureManagement.SessionManagers.Core 1.1.0

.NET Core 3.1
There is a newer version of this package available.
See the version list below for details.
dotnet add package Lussatite.FeatureManagement.SessionManagers.Core --version 1.1.0
NuGet\Install-Package Lussatite.FeatureManagement.SessionManagers.Core -Version 1.1.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="Lussatite.FeatureManagement.SessionManagers.Core" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lussatite.FeatureManagement.SessionManagers.Core --version 1.1.0
#r "nuget: Lussatite.FeatureManagement.SessionManagers.Core, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lussatite.FeatureManagement.SessionManagers.Core as a Cake Addin
#addin nuget:?package=Lussatite.FeatureManagement.SessionManagers.Core&version=1.1.0

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

Lussatite.FeatureManagement.SessionManagers.Core

Various read-only ISessionManager implementations which are compatible with .NET Core 3.1 and .NET 5+. These implementations do not write back to the underlying value store.

ISessionManager Implementations

While these ISessionManager implementations are written for Lussatite.FeatureManagement, they are compatible with the Microsoft ISessionManager interface and could be used with the Microsoft FeatureManager implementation.

ClaimsPrincipalSessionManager

A read-only ISessionManager implementation that examines ClaimsPrincipal claims of type "feature_flag" to obtain the feature value. The value of the claim is either the feature name to indicate true, or the feature name prefixed with an exclamation point ("!") to indicate false.

ConfigurationValueSessionManager

A read-only ISessionManager implementation that uses IConfiguration to obtain its values.

SqlSessionManager

A read-only ISessionManager implementation that uses a user-provided DbCommand to obtain its values.

CachedSqlSessionManager

A cached read-only ISessionManager implementation that uses a user-provided DbCommand to obtain its values. The results for a particular feature flag name will be cached for a period. The default cache duration is 30 seconds.

Target

  • .NET Core 3.1
  • .NET 5, .NET 6, etc.

References

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.6.3 239 6/29/2022
1.6.2 232 6/28/2022
1.6.1 241 6/28/2022
1.6.0 641 6/15/2022
1.5.0 229 6/9/2022
1.4.1 710 5/24/2022
1.4.0 234 5/24/2022
1.3.1 226 5/23/2022
1.3.0 229 5/22/2022
1.2.0 236 5/20/2022
1.1.0 228 5/19/2022
1.0.0 241 5/16/2022
0.2.1 237 5/15/2022
0.2.0 222 5/14/2022