Hi Guys,
I have very simple console app where I want to receive following events:
"System.Net.Http.HttpRequestOut.Start"
"System.Net.Http.HttpRequestOut.Stop"
"System.Net.Http.Request"
"System.Net.Http.Response"
When I use DiagnosticListener.SubscribeWithAdapter I do receive Request/Response but do not receive HttpRequestOut.Start/HttpRequestOut.Stop. When I do not use adapter and just subscribe I receive all events described above (but sure using them throught adapter is was simpler).
I gave up trying to understan what's wrong and made very small repo containing full sample.
repo could be found here https://github.com/yahorsi/HttpHandlerDiagnosticListener
Thanks for any help
Hi Guys,
I have very simple console app where I want to receive following events:
"System.Net.Http.HttpRequestOut.Start"
"System.Net.Http.HttpRequestOut.Stop"
"System.Net.Http.Request"
"System.Net.Http.Response"
When I use DiagnosticListener.SubscribeWithAdapter I do receive Request/Response but do not receive HttpRequestOut.Start/HttpRequestOut.Stop. When I do not use adapter and just subscribe I receive all events described above (but sure using them throught adapter is was simpler).
I gave up trying to understan what's wrong and made very small repo containing full sample.
repo could be found here https://github.com/yahorsi/HttpHandlerDiagnosticListener
Thanks for any help