如何在 Visual Studio 2022 中的 Asp.net Core 应用程序上使用 Performance Profiler 和 Instrumentation

CWM*_*Mjr 9 c# asp.net performance instrumentation visual-studio-2022

如何使用 VS 2022 工具从 ASP.NET Core Web 应用程序获取仪器性能数据?

我们现在有一个具有 ASP.NET Core Web API 和 MVC 应用程序对的应用程序。它们在 IIS Express 下本地运行,并使用 Visual Studio 2022 进行诊断。我尝试对这些进行检测,但无法弄清楚该过程。我假设您必须针对 dll 运行检测进程,然后在运行后附加到 IIS Express,但我还没有找到执行此操作的步骤。我在 .NET Framework 上使用的旧方法、cli 工具似乎不适用于 .NET Core 应用程序。