最佳答案
我相信该功能已被删除,因为我在 VS 2019 中也找不到它了。
另外,从this article来看:
With Visual Studio’s new Network tool, developers can now easily record information about all HTTP network operations made through the WinRT HttpClient API including HTTP request and response headers, request and response payloads, cookies and detailed timing information amongst other things. Operations made using the old .NET HttpClient API aren’t captured.
无论如何,这对很多人来说可能是一个交易破坏者。
考虑到这一点,您可以使用第三方工具,例如 Wireshark ,恕我直言,这是比 Fiddler 更专业的工具,因为它不需要充当代理来捕获网络流量(就像 Fiddler 那样),而是 captures packets directly from a network adapter本身。
它不仅可以捕获 HTTP 流量,还可以做很多事情,许多安全专家将它用于网络数据包分析。
关于visual-studio - VS2019 社区中的网络分析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61993700/