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
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:
The project repository contains demos for the libraries:
There are some blog posts available which describe implementation details:
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 (either monthly or one-time).
Copyright © 2017 - 2024 Tomasz Pęczek
Licensed under the MIT License