I am using HttpClient for sending out request to one of the web api service that I don\'t have access to and I need to trace the actual request stream getting to the server
IIS does not use the proxy setting in Internet Option because it runs under a different user identity (default is ApplicationPoolIdentity). @EricLaw has provided a good pointer regarding the problem of capturing traffic of IIS/ASP.NET.
Instead of configuring IIS to use my login account, I edit web.config to force HTTPClient to use proxy, like following.
Here is the detail of usage from MSDN.