Networking is not applicable in Visual Studio 2015 for a console application

I created a Console Application in Visual Studio 2015 Professional for a simple HttpWebRequest. I would like to monitor the raw HTTP traffic that my application is sending or receiving. As far as I understand, there is a Performance Profiler in Visual Studio 2015 (Alt + F2) for this purpose.

Checkbox

But Network is in the Not Applicable Tools group. Can this tool be used for a console application?

+3


source to share


1 answer


From MSDN, this tool is only used to monitor HTTP network operations performed with WinRT HttpClient API

, and as explicitly stated in this blog post ,

Operations performed using the legacy .NET HttpClient API.



So the answer is no.

You can use WireShark or Fiddler for this purpose.

+1


source







All Articles