Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Network is not applicable in Visual Studio 2015 for Console Application

I've created Console Application in Visual Studio 2015 Professional for simple HttpWebRequest. I'd like to monitor raw HTTP traffic which is sent or received by my Application. As I understand there is Performance Profiler in Visual Studio 2015 for this purpose (Alt+F2).

But Network checkbox is in Not applicable tools group. Is there any way for using this tool for Console Application?

like image 369
Sergey Buglak Avatar asked Apr 08 '17 13:04

Sergey Buglak


1 Answers

From MSDN, this tool is only used for monitoring HTTP network operations made through the WinRT HttpClient API, and as explicitly stated in this blog post,

Operations made using the old .NET HttpClient API aren’t captured.

So the answer is no.

You can use WireShark or Fiddler for this purpose.

like image 145
kennyzx Avatar answered Sep 23 '22 00:09

kennyzx