如何在Visual Studio中使用ASP.NET Core App上的仪器使用性能分析器2022

发布于 2025-01-23 06:47:19 字数 268 浏览 3 评论 0原文

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

现在,我们使用ASP.NET Core Web API和MVC应用程序对的应用程序。这些在IIS Express下在本地运行,并使用Visual Studio 2022进行诊断。我试图仪器这些过程,但无法弄清楚这一过程。我假设您必须在运行后将仪器过程与DLL一起运行,然后将其连接到IIS Express,但是我没有找到这样做的步骤。我在.NET框架,CLI工具上使用的旧方法似乎不适用于.NET Core Apps。

How do you get instrumentation performance data from an ASP.NET Core web app using VS 2022 tools?

We now an app with an ASP.NET Core Web API and MVC app pair. These run locally under IIS Express and use Visual Studio 2022 for diagnostics. I tried to instrument these and cannot figure out the process. I assume you have to run the instrumentation process against the dll then attach to IIS Express once it's running, but I've not found the steps to do that. The old methods I've used on .NET Framework, cli tools, don't seem to work with .NET Core apps.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文