Valve 1.0.0

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

// Install Valve as a Cake Tool
#tool nuget:?package=Valve&version=1.0.0

<img height="100px" width="100px" src="https://github.com/benefactor-org/valve-dotnet-core/blob/master/valve-logo.png">

Valve[C#]: Sampling and feature release control for better customer experience.

NuGet Package

Introduction

Valve is a simple to integrate sampling and code flow control library, which can perform sampling on an unknown size of identifiers. It was developed to fullfill the need to perform percentage based roll out of a certain feature for users.

Documentation

   String identifier = "useremail@email.com" // unique identifier per sample like user_id 
   int percentEnabled = 20; // percentage for which feature should be enabled

   if (Valve.Valve.Control(identifier, percentEnabled)) 
   {
       Console.WriteLine("Feature is enabled for identifier.");
   } 
   else 
   {
       Console.WriteLine("Fearure is not available for this identifier.");
   }

Communication

What does it do?

1) Sampling

Given a unique identifier and roll out percentage, decides weather to be sampled or not to be sampled.

2) Feature gates for enabling or disabling a perticular feature.[WIP]

You can configure Valve with all your features at the application start up, and dynamically enable or disable it during runtime.

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

LICENSE

Copyright 2020 Benefactor, Org.

Licensed under the GNU GENERAL PUBLIC LICENSE Version 3 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://github.com/benefactor-org/valve-dotnet-core/blob/master/LICENSE

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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 netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

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.0.0 545 8/1/2020

First version 1.0.0