Skip to content

This repository contains a .NET 6 API that will be used to demonstrate how to do profiling with dotnet-trace, dotnet-dump, dotnet-counters and Visual Studio

Notifications You must be signed in to change notification settings

MattKotsenas/profiling-net-api-demo

 
 

Repository files navigation

Profiling a .NET 8 app running in a linux container with CLI tools

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:

Creating the Docker image

dotnet publish -t:PublishContainer

Profiling a Kubernetes pod

See k8s-pod-profiling.md.

About

This repository contains a .NET 6 API that will be used to demonstrate how to do profiling with dotnet-trace, dotnet-dump, dotnet-counters and Visual Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%