Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view network traffic in Visual Studio

Tags:

According to this Blog post there's something called Visual Studio Network Tool in performance & diagnostics, but I can't find it. If I start a new performance profiling session, I have all sorts of tools (CPU, Memory) but no Network. Tried in both Visual Studio 2015 and 2017.

like image 595
Luis Ferrao Avatar asked Jan 17 '17 07:01

Luis Ferrao


People also ask

What is diagnostic tool in Visual Studio?

The Diagnostics Tools feature of Visual Studio provides you with historical information about your application in a debugging session.


1 Answers

To access the Network tool, open the Diagnostics Tools window in Visual Studio 2015 and on the Debug menu, select Start Diagnostic Tools without Debugging (or just press Alt+F2).

enter image description here

On the diagnostics page, select the Analysis Target (your startup project is preselected as the analysis target but you can choose to target an installed or running app instead), then select Network and press Start. Alternatively, since the tool is part of the Performance and Diagnostics hub, you can also select additional tools in order to run a combined session.

enter image description here

You can find more information here https://blogs.msdn.microsoft.com/visualstudio/2015/05/04/introducing-visual-studios-network-tool/

like image 155
Sudeep Reddy Avatar answered Sep 19 '22 14:09

Sudeep Reddy