This repository contains a demo application. It is a .NET 8 API with these endpoints:
/blocking-threads
/high-cpu
/memory-leak
/json
Each endpoint contains a different performance issue.
This repository is used to demonstrate how to profile an app using the .NET CLI diagnostic tools (dotnet-dump
,
dotnet-trace
, dotnet-counters
, dotnet-gcdump
) and Visual Studio.
More info about it on the blog post:
dotnet publish -t:PublishContainer
See k8s-pod-profiling.md.