https://github.com/tpeczek/dotnet-server-timing
Libraries that simplify the onboarding of Server Timing API (a convenient way to communicate performance metrics about the request-response cycle) in .NET projects.
https://github.com/tpeczek/dotnet-server-timing
asp-net-core azure-functions perfomance server-timing
Last synced: about 1 year ago
JSON representation
Libraries that simplify the onboarding of Server Timing API (a convenient way to communicate performance metrics about the request-response cycle) in .NET projects.
- Host: GitHub
- URL: https://github.com/tpeczek/dotnet-server-timing
- Owner: tpeczek
- License: mit
- Created: 2017-06-08T10:53:33.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-01-15T11:46:02.000Z (over 1 year ago)
- Last Synced: 2025-04-04T02:08:31.988Z (about 1 year ago)
- Topics: asp-net-core, azure-functions, perfomance, server-timing
- Language: C#
- Homepage: https://tpeczek.github.io/dotnet-server-timing/
- Size: 1.04 MB
- Stars: 61
- Watchers: 4
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Server Timing API support for .NET
[](https://www.nuget.org/packages/Lib.AspNetCore.ServerTiming)
[](https://www.nuget.org/packages/Lib.AspNetCore.ServerTiming)
[](https://www.nuget.org/packages/Lib.Azure.Functions.Worker.ServerTiming)
[](https://www.nuget.org/packages/Lib.Azure.Functions.Worker.ServerTiming)
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)](https://tpeczek.github.io/dotnet-server-timing/articles/getting-started-aspnetcore.html)
- [Getting Started (Isolated Worker Process Azure Functions)](https://tpeczek.github.io/dotnet-server-timing/articles/getting-started-azurefunctions.html)
## Demos
The project repository contains demos for the libraries:
- [ASP.NET Core](https://github.com/tpeczek/Lib.AspNetCore.ServerTiming/tree/main/demos/Demo.AspNetCore.ServerTiming)
- [Isolated Worker Process Azure Functions](https://github.com/tpeczek/Lib.AspNetCore.ServerTiming/tree/main/demos/Demo.Azure.Functions.Worker.ServerTiming)
## Additional Resources
There are some blog posts available which describe implementation details:
- [Feeding Server Timing API from ASP.NET Core](https://www.tpeczek.com/2017/06/feeding-server-timing-api-from-aspnet.html)
- [Little Known ASP.NET Core Features - HTTP Trailers](https://www.tpeczek.com/2020/09/little-known-aspnet-core-features-http.html)
## Donating
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](https://github.com/sponsors/tpeczek) (either monthly or one-time).
## Copyright and License
Copyright © 2017 - 2025 Tomasz Pęczek
Licensed under the [MIT License](https://github.com/tpeczek/Lib.AspNetCore.ServerTiming/blob/master/LICENSE.md)