Wayfinder.Editor.Http 0.1.0

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

Wayfinder.Editor.Http

The backend half of a contract Wayfinder.Editor's packaged service-blueprint-editor.html demo page expects — not from the editor package itself, but from its bundled MockBusinessAppServiceBlueprintSource TS example (a documented "reference implementation, fork this into your own host" integration, not part of the editor's shipped bundle). A host that just wants the packaged demo page to work out of the box maps this instead of hand-copying that example's expected routes itself.

Usage

app.MapMockBusinessAppServiceBlueprints(); // defaults to prefix "/mockapp/service-blueprints"

Anonymous by default — same reasoning as Wayfinder.Engine.Api's/Wayfinder.Engine.Mcp's own mapping calls: a real host chains its own .RequireAuthorization() if it wants one. No Add...() — it needs nothing beyond ServiceBlueprintAuthoringService, already registered by the AddServiceBlueprintAuthoring() call any authoring surface (API/MCP/this) requires.

The contract (matching MockBusinessAppServiceBlueprintSource exactly):

  • GET {prefix} → JSON array of { definitionKey, displayName }.
  • GET {prefix}/{key} → the raw ServiceBlueprint JSON, or 404.
  • PUT {prefix}/{key} → body is a full ServiceBlueprint; 204 on save, 409 + ServiceBlueprintSaveOutcome body on a version conflict, 400 otherwise.

Why a separate package from Wayfinder.Editor

Wayfinder.Editor is deliberately pure static assets — zero ASP.NET Core routing, zero Wayfinder.Engine dependency, just the compiled editor bundle. This needs ServiceBlueprintAuthoringService, so it gets its own package rather than pulling that dependency into the asset-only one, the same reasoning Wayfinder.Engine.Http split off from Wayfinder.Rendering.GovUk for.

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
0.1.0 52 8/19/2026