Nabs.Launchpad.Core.ThirdPartyServices 10.1.2

Prefix Reserved
dotnet add package Nabs.Launchpad.Core.ThirdPartyServices --version 10.1.2
                    
NuGet\Install-Package Nabs.Launchpad.Core.ThirdPartyServices -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.ThirdPartyServices" 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.ThirdPartyServices" Version="10.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Nabs.Launchpad.Core.ThirdPartyServices" />
                    
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.ThirdPartyServices --version 10.1.2
                    
#r "nuget: Nabs.Launchpad.Core.ThirdPartyServices, 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.ThirdPartyServices@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.ThirdPartyServices&version=10.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Nabs.Launchpad.Core.ThirdPartyServices&version=10.1.2
                    
Install as a Cake Tool

Nabs.Launchpad.Core.ThirdPartyServices

Purpose

Nabs.Launchpad.Core.ThirdPartyServices provides a lightweight in-memory HTTP emulator for third-party APIs. It is intended for local development and integration testing where deterministic request matching and mocked responses are needed.

Installation

dotnet add package Nabs.Launchpad.Core.ThirdPartyServices

Quick Start

using Nabs.Launchpad.Core.ThirdPartyServices;

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddThirdPartyEmulator();

var app = builder.Build();

app.MapThirdPartyEmulator(emu =>
{
	emu.Get("/people/{id}")
	   .WhenRouteValue("id", "123")
	   .RespondOk(new { id = "123", name = "Alice" })
	   .Otherwise(404);
});

app.Run();

API Overview

  • AddThirdPartyEmulator(...) registers the shared in-memory rule store and options.
  • MapThirdPartyEmulator(Action<IThirdPartyEmulatorBuilder>) defines fluent rule mappings.
  • MapThirdPartyEmulator(IConfigurationSection) loads simple declarative rule entries from configuration.
  • IThirdPartyEmulatorBuilder supports verb-specific methods (Get, Post, Put, Patch, Delete, Head, Options) plus generic Map.
  • IRouteBuilder supports:
    • match predicates: route values, query values, headers, content type, raw body, JSON body, and custom HttpContext predicates
    • response definitions: status code, object payloads, IResult, and result factories
    • behavior modifiers: delay and response headers
    • fallback: Otherwise(...) for unmatched requests within the same method/path group

Admin Endpoints

By default, the emulator maps:

  • GET /__emulator/rules - returns the current in-memory route/rule snapshot.

Admin endpoint behavior can be controlled via ThirdPartyEmulatorOptions:

  • EnableAdminEndpoints (default true)
  • AdminRoutePrefix (default "/__emulator")
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.
  • net10.0

    • 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
10.1.2 49 9/30/2026
10.1.1 93 9/23/2026
10.1.0 89 9/23/2026
10.0.290 74 9/22/2026
10.0.289 76 9/22/2026
10.0.288 85 9/22/2026
10.0.287 87 9/21/2026
10.0.286 83 9/18/2026
10.0.285 86 9/18/2026
10.0.273 102 9/6/2026
10.0.272 88 9/5/2026
10.0.270 92 9/5/2026
10.0.269 93 9/5/2026