ASP.NET Core
Server time in DevTools
Server-Timing Headers in ASP.NET Core: Backend Metrics in Browser DevTools
Maarten Balliauw shows how to add a Server-Timing response header in ASP.NET Core so database and external API timings appear in browser DevTools next to the network timings. The post builds a small middleware, a measurement feature that endpoints can use, and ways to reuse OpenTelemetry Activity data. It also covers gating the header so internal timings are not exposed to every caller.