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
<PackageReference Include="Wayfinder.Editor.Http" Version="0.1.0" />
<PackageVersion Include="Wayfinder.Editor.Http" Version="0.1.0" />
<PackageReference Include="Wayfinder.Editor.Http" />
paket add Wayfinder.Editor.Http --version 0.1.0
#r "nuget: Wayfinder.Editor.Http, 0.1.0"
#:package Wayfinder.Editor.Http@0.1.0
#addin nuget:?package=Wayfinder.Editor.Http&version=0.1.0
#tool nuget:?package=Wayfinder.Editor.Http&version=0.1.0
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 rawServiceBlueprintJSON, or404.PUT {prefix}/{key}→ body is a fullServiceBlueprint;204on save,409+ServiceBlueprintSaveOutcomebody on a version conflict,400otherwise.
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 | Versions 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. |
-
net10.0
- Wayfinder.Engine (>= 0.7.0)
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 |