I have a library that I'm testing out and the .Net Framework 4.6.2 project logs just fine with the normal app.config values. When I set up the same project using .Net 6/7 I can't seem to get it to capture any packets.
I run netsh command under an elevated privilege command prompt before starting fiddler and then I run the debug mode in VS 2022 and see no entries come across fiddler.
C:\WINDOWS\system32>netsh winhttp set proxy 127.0.0.1:8888
Current WinHTTP proxy settings:
Proxy Server(s) : 127.0.0.1:8888
Bypass List : (none)
The only way I can get it to log anything is to enable "Act as a system proxy on startup". This isn't too practical as then I'm seeing all traffic, which is a lot.
The request is to an https-enabled site.
Is there something I need to do differently in this case?
All of the articles I have read points to this as the correct direction, but they are all 2019 or older.