Nabs.Launchpad.Core.FeatureFlags
10.0.273
Prefix Reserved
dotnet add package Nabs.Launchpad.Core.FeatureFlags --version 10.0.273
NuGet\Install-Package Nabs.Launchpad.Core.FeatureFlags -Version 10.0.273
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="Nabs.Launchpad.Core.FeatureFlags" Version="10.0.273" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nabs.Launchpad.Core.FeatureFlags" Version="10.0.273" />
<PackageReference Include="Nabs.Launchpad.Core.FeatureFlags" />
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 Nabs.Launchpad.Core.FeatureFlags --version 10.0.273
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nabs.Launchpad.Core.FeatureFlags, 10.0.273"
#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 Nabs.Launchpad.Core.FeatureFlags@10.0.273
#: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=Nabs.Launchpad.Core.FeatureFlags&version=10.0.273
#tool nuget:?package=Nabs.Launchpad.Core.FeatureFlags&version=10.0.273
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nabs.Launchpad.Core.FeatureFlags
Nabs.Launchpad.Core.FeatureFlags provides a lightweight feature-flag foundation for Launchpad apps on top of Microsoft.FeatureManagement.
It includes:
- DI registration helpers
- Pluggable feature definition providers
- Feature flag API endpoint classes (query + admin operations)
- An in-memory provider for development and testing
Installation
dotnet add package Nabs.Launchpad.Core.FeatureFlags
Quick Start
Register feature flags in Program.cs:
builder.Services.AddNabsFeatureFlags();
Use a custom configuration section:
builder.Services.AddNabsFeatureFlags(options =>
options.ConfigurationSectionName = "MyFlags");
Use a custom definition provider:
builder.Services
.AddNabsFeatureFlags()
.WithDefinitionProvider<InMemoryFeatureDefinitionProvider>();
API Overview
Core Types
NabsFeatureFlagsServiceCollectionExtensionsAddNabsFeatureFlags()AddNabsFeatureFlags(Action<NabsFeatureFlagsOptions>)
NabsFeatureFlagsBuilderWithDefinitionProvider<TProvider>()WithDefinitionProvider(IFeatureDefinitionProvider)
NabsFeatureFlagsOptionsConfigurationSectionName(default:FeatureManagement)
FeatureFlagandFeatureFlagSessionIFeatureFlagStoreUpsertAsync(...)DeleteAsync(...)
Built-in Definition Providers
InMemoryFeatureDefinitionProvider(development/test friendly)OrleansFeatureDefinitionProvider(stub for Orleans-backed implementation)
Endpoint Classes
This package exposes endpoint classes (derived from NabsEndpointBase) you can register in your API layer.
Query Endpoints
GET /api/feature-flags→GetAllFeatureFlagsEndpointGET /api/feature-flags/{name}→GetFeatureFlagEndpointGET /api/feature-flags/{name}/enabled→IsFeatureFlagEnabledEndpoint
Admin Endpoints
PUT /api/feature-flags→UpsertFeatureFlagEndpointPOST /api/feature-flags/{name}/enable→EnableFeatureFlagEndpointPOST /api/feature-flags/{name}/disable→DisableFeatureFlagEndpointDELETE /api/feature-flags/{name}→DeleteFeatureFlagEndpoint
Notes
- Admin endpoints depend on
IFeatureFlagStorefor persistence operations. InMemoryFeatureDefinitionProvideris ideal for local development and tests, but not a production persistence layer.- Custom providers can replace the default
IFeatureDefinitionProviderregistration via the fluent builder.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.FeatureManagement (>= 4.7.0)
- Microsoft.FeatureManagement.AspNetCore (>= 4.7.0)
- Microsoft.FeatureManagement.Telemetry.ApplicationInsights (>= 4.7.0)
- Nabs.Launchpad.Core.Apis (>= 10.0.273)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.