Nabs.Launchpad.Core.Configuration 10.0.272

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Nabs.Launchpad.Core.Configuration --version 10.0.272
                    
NuGet\Install-Package Nabs.Launchpad.Core.Configuration -Version 10.0.272
                    
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.Configuration" Version="10.0.272" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nabs.Launchpad.Core.Configuration" Version="10.0.272" />
                    
Directory.Packages.props
<PackageReference Include="Nabs.Launchpad.Core.Configuration" />
                    
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 Nabs.Launchpad.Core.Configuration --version 10.0.272
                    
#r "nuget: Nabs.Launchpad.Core.Configuration, 10.0.272"
                    
#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.Configuration@10.0.272
                    
#: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.Configuration&version=10.0.272
                    
Install as a Cake Addin
#tool nuget:?package=Nabs.Launchpad.Core.Configuration&version=10.0.272
                    
Install as a Cake Tool

Nabs.Launchpad.Core.Configuration

Purpose

Provides a standardised, opinionated, and secure configuration experience for Nabs Launchpad services. It enforces the IOptions<T> pattern, keeps secrets out of appsettings*.json, and integrates cleanly with .NET Aspire.

Installation

dotnet add package Nabs.Launchpad.Core.Configuration

Quick Start

using Nabs.Launchpad.Core.Configuration;

var builder = WebApplication.CreateBuilder(args);

builder.AddNabsConfiguration();
builder.Services.AddNabsOptions<MyFeatureOptions>("MyFeature");

API Overview

  • AddNabsConfiguration<TBuilder>() – registers Azure App Configuration (with optional Key Vault secret resolution), sentinel-based refresh, and preserves the default provider order.
  • AddNabsOptions<TOptions>() – binds a section, applies [Required], [Range], etc., and calls ValidateOnStart() for fail-fast startup validation.
  • NabsConfigurationOptions – connection names, refresh interval, sentinel key, and optional callbacks for advanced App Configuration setup.
  • NabsConfigurationConstants – shared resource/parameter naming conventions used by both the client and AppHost packages.

Environment behaviour

This package intentionally has no environment branching. The AppHost decides where configuration and secrets come from (emulator, provisioned resources, or existing shared landing-zone resources). Service code simply consumes IOptions<T>.

Source Local Ephemeral Production
App Configuration Aspire emulator (emulator endpoint) Provisioned resource Existing shared resource (AsExisting)
Secrets Aspire Parameters / user-secrets Provisioned Key Vault Existing shared Key Vault (AsExisting)

Conventions

Convention Value
App Configuration connection name appconfig
Key Vault connection name keyvault
Sentinel refresh key AppConfig:Sentinel
Hierarchical keys Section:SubSection:Key → env var Section__SubSection__Key

Security

  • Secrets must never be stored in appsettings*.json.
  • Key Vault references embedded in App Configuration are resolved using the configured credential.
  • Options validation fails fast on startup so missing or invalid configuration is caught immediately.

Advanced Usage

builder.AddNabsConfiguration(options =>
{
    options.SentinelKey = "MyApp:Sentinel";
    options.RefreshInterval = TimeSpan.FromMinutes(1);
    options.ConfigureAppConfigurationOptions = appConfig =>
    {
        appConfig.UseFeatureFlags();
    };
});
Product 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nabs.Launchpad.Core.Configuration:

Package Downloads
Nabs.Launchpad.Core.Aspire.Hosting

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.273 65 9/6/2026
10.0.272 50 9/5/2026
10.0.270 53 9/5/2026
10.0.269 55 9/5/2026