Skip to content

v2.0.0

Choose a tag to compare

@eladser eladser released this 11 Jun 21:00
· 10 commits to main since this release
9bec207

The dashboard was rebuilt from scratch and the package now targets .NET 8, 9, and 10. Routes, API endpoints, and public extension methods are unchanged — upgrading from 1.x needs no code changes.

New dashboard

The old UI loaded React dev builds, Babel, Tailwind, and Font Awesome from CDNs at runtime and only rendered counters. The new one is a single self-contained HTML file embedded in the assembly (zero external requests, works offline) with:

  • Request, query, log, and exception tables with sorting, filter chips (failed only / slow only), and duration bars
  • Tabbed request detail: Summary, Headers, Request, Response, SQL, Logs — plus copy-as-cURL
  • SQL syntax highlighting, parameter capture, and an N+1 warning when one request runs the same query 3+ times
  • A Performance page: req/min, avg, median, P95/P99, error rate, slowest endpoints over the last hour
  • Global search (Ctrl+K) across all entry types, with cross-links from any query/log/exception to its parent request
  • Keyboard navigation: j/k rows, Enter open, / filter, Esc close
  • Tab deep-linking (/_debug#requests)

Fixed

  • The EF Core interceptor injected a tracking comment into DbCommand.CommandText and rewrote it after execution, corrupting the SQL sent to the database and crashing SQLite ("an open reader is associated with this command"). It now uses eventData.Duration and never touches the command.
  • Requests always stored empty SqlQueries/Logs lists — the middleware never registered requests for correlation, so nothing the interceptor or IDebugLogger captured was attached. Request entries also now carry Url, QueryString, Protocol, and IsHttps.
  • The requests list ignored the search parameter, and the isSuccessful, isSlowQuery, minExecutionTime, and requestId filters were declared but never applied.

Packaging

  • Multi-targets net8.0 / net9.0 / net10.0; EF Core dependencies follow the target framework so net8 consumers aren't forced onto EF 9+
  • Package icon, rewritten README with full install and usage docs, demo GIF
  • CI rebuilds the dashboard frontend and tests on all three runtimes