Anarchy.Toolkit.Web.MockServer.Ui 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Web.MockServer.Ui --version 2.0.0
                    
NuGet\Install-Package Anarchy.Toolkit.Web.MockServer.Ui -Version 2.0.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="Anarchy.Toolkit.Web.MockServer.Ui" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Web.MockServer.Ui" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Web.MockServer.Ui" />
                    
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 Anarchy.Toolkit.Web.MockServer.Ui --version 2.0.0
                    
#r "nuget: Anarchy.Toolkit.Web.MockServer.Ui, 2.0.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 Anarchy.Toolkit.Web.MockServer.Ui@2.0.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=Anarchy.Toolkit.Web.MockServer.Ui&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Web.MockServer.Ui&version=2.0.0
                    
Install as a Cake Tool

Anarchy.Toolkit.Web.MockServer.Ui

Part of Anarchy I/O Toolkit, a .NET developer platform · Pillar: Infrastructure · Layer: Web · Package catalog

A browser UI for Anarchy.Toolkit.Web.MockServer, built on Anarchy.Toolkit.Web.Ui: see what the mock server answers with and what it received while your tests or application run.

dotnet add package Anarchy.Toolkit.Web.MockServer.Ui
  • Expectations: every loaded, code and runtime expectation with its method, path, status, priority, remaining times and source, as JSON on demand; reloads the expectation files.
  • Requests: the received requests, live, with what answered them, filterable and viewable as JSON; clears them.
  • Middlewares: the plugged-in middlewares, in pipeline order.
  • Logs: a live tail of the server's in-memory log, whatever the console verbosity, filterable by level and text.

When to use it

When developing against a mock server, or debugging a failing integration test, and reading the console is not enough. Use Anarchy.Toolkit.Web.MockServer alone when no one looks at it, e.g. in CI.

How to use it

Run it standalone, like the plain mock server (same arguments), and open http://localhost:6001/__mock/ui/:

dotnet Anarchy.Toolkit.Web.MockServer.Ui.dll -e "mocks/**/*.json"

Or call UseUi() from a host of your own:

return await MockServerEntryPoint.RunAsync(args, server => server
    .AddExpectationsFrom("mocks")
    .UseMiddleware<FakeAuthMiddleware>()
    .UseUi());
  • The URL is printed in the startup banner. It lives under /__mock, so it is never matched against expectations nor recorded as a received request.
  • --no-ui (or MOCKSERVER_UI=false) turns it off without changing the host. The Anarchy IMockServerBuild targets take --mock-server-ui false, and the Make targets UI=false, e.g. make mock_server_start UI=false.
  • It has no login: it is meant for local and test environments, like the control API.
  • UseUi(path) serves it elsewhere under the same rules.

Releases

2.0.0

  • feat(automation): establish onboarding and layering conventions
  • feat(telemetry)!: introduce provider-neutral application telemetry
  • refactor(packages)!: restructure persistence and automation packages
  • refactor(infrastructure.correlationid)!: decouple correlation scopes from Serilog
  • refactor(core)!: reshape telemetry, event and health contracts
  • fix(persistence)!: preserve unit-of-work transaction ownership
  • refactor(telemetry)!: remove legacy APIs and simplify namespaces
  • feat(automation)!: configure layering and bridge build telemetry
  • refactor(telemetry)!: update consumers and samples
  • docs(onboarding): align package guidance, skills, and architecture

1.0.0

  • feat(Web.MockServer.Ui): add a browser UI for the mock server with expectations, requests, middlewares and live logs
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
2.0.1 0 11/21/2026
2.0.0 0 11/20/2026
1.0.0 55 11/17/2026

Initial release.