Nabs.Launchpad.Core.Persistence 10.1.2

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

NuGet

Nabs.Launchpad.Core.Persistence

Nabs.Launchpad.Core.Persistence gives you consistent SQL DbContext registration with environment-aware connection-string providers for local and Azure hosting.

Installation

dotnet add package Nabs.Launchpad.Core.Persistence

The Problem

// 1) Local/dev/prod connection handling drifts by project

// 2) DbContext factory registration is easy to forget
services.AddDbContextFactory<AppDbContext>();

// 3) Design-time EF tooling setup is repeated

Features

  • AddSqlDb<TDbContext> helpers for service and host builders
  • Provider abstraction via ISqlConnectionStringProvider
  • Local container and Azure identity connection support
  • In-memory repository base for lightweight test scenarios

Usage

builder.Services.AddSqlDb<AppDbContext>(
    sqlContainerConfig: local =>
    {
        local.Server = "localhost,1433";
        local.Database = "AppDb";
        local.UserId = "sa";
        local.Password = "Password123!";
    },
    sqlAzureConfig: azure =>
    {
        azure.Server = "my-server.database.windows.net";
        azure.Database = "AppDb";
    });

Configuration

Set connection settings via options delegates or ConnectionStrings__{Name} environment values.

Project Structure

  • ProjectExtensions.cs - DbContext registration entry points
  • *ConnectionStringProvider.cs - provider implementations
  • SqlDbContextFactory.cs - runtime/design-time context creation

License

Copyright (c) Net Advantage Business Solutions.

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

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
10.1.2 61 9/30/2026
10.1.1 94 9/23/2026
10.1.0 94 9/23/2026
10.0.290 77 9/22/2026
10.0.289 80 9/22/2026
10.0.288 85 9/22/2026
10.0.287 86 9/21/2026
10.0.286 89 9/18/2026
10.0.285 87 9/18/2026
10.0.273 108 9/6/2026
10.0.272 104 9/5/2026
10.0.270 98 9/5/2026
10.0.269 109 9/5/2026
10.0.255 123 7/26/2026
10.0.250 182 6/23/2026
10.0.249 127 6/6/2026
10.0.248 123 6/6/2026
10.0.247 123 6/6/2026
10.0.246 126 6/6/2026
10.0.242 117 6/4/2026
Loading failed