Server Timing API support for .NET

NuGet Version NuGet Downloads

NuGet Version NuGet Downloads

Server Timing API provides a convenient way to communicate performance metrics about the request-response cycle to the user agent (which conveniently includes developer tools in the browser). Here you can find a set of libraries that simplify the onboarding of Server Timing API in .NET projects:

  • Lib.AspNetCore.ServerTiming for ASP.NET Core
  • Lib.Azure.Functions.Worker.ServerTiming for isolated worker process Azure Functions

Installation

All libraries are available as NuGet packages.

PM>  Install-Package Lib.AspNetCore.ServerTiming
PM>  Install-Package Lib.Azure.Functions.Worker.ServerTiming

Once you install the correct library for your scenario, please refer to "Getting Started" article which will get you further:

  • Getting Started (ASP.NET Core)
  • Getting Started (Isolated Worker Process Azure Functions)

Demos

The project repository contains demos for the libraries:

  • ASP.NET Core
  • Isolated Worker Process Azure Functions

Additional Resources

There are some blog posts available which describe implementation details:

  • Feeding Server Timing API from ASP.NET Core
  • Little Known ASP.NET Core Features - HTTP Trailers

Sponsor this project

My blog and open source projects are result of my passion for software development, but they require a fair amount of my personal time. If you got value from any of the content I create, then I would appreciate your support by sponsoring me.

Back to top Copyright © 2017 - 2023 Tomasz Pęczek