Nabs.Launchpad.Core.Migrations 10.0.234

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

NuGet

Nabs.Launchpad.Core.Migrations

Nabs.Launchpad.Core.Migrations provides migration and seed-processing abstractions so database bootstrap logic is explicit, testable, and reusable.

Installation

dotnet add package Nabs.Launchpad.Core.Migrations

The Problem

// 1) Migrations run in ad-hoc startup code
await db.Database.MigrateAsync();

// 2) Seed logic mixed into Program.cs

// 3) Multiple DbContexts require copy/paste registration

Features

  • Migration contract via IMigrationsProcessor
  • Seed contract via ISeedDataProcessor
  • Registration extension for SQL migrations with DbContext + seed processor

Usage

builder.AddSqlMigrations<AppDbContext, AppSeedDataProcessor>("ApplicationDb");

Configuration

Provide a connection string for the named database in configuration or environment variables.

Project Structure

  • IMigrationsProcessor.cs / ISeedDataProcessor.cs - migration contracts
  • MigrationsService.cs - orchestration for registered processors
  • ProjectExtensions.cs - startup registration helpers

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 (3)

Showing the top 3 NuGet packages that depend on Nabs.Launchpad.Core.Migrations:

Package Downloads
Nabs.Launchpad.Core.Testing

Package Description

Nabs.Launchpad.Core.Testing.Silos

Package Description

Nabs.Launchpad.Core.MigrationsCli

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.