title: WCF Tracing in ASP.NET Core
body: <p>We used to use WCF over ASP.NET and recently switched to WCF over ASP.NET Core. This was quite hard to implement because ASP.Net Core doesn't support WCF out of the box. For one thing, the whole web.config XML configuration model has been dumped in ASP.NET Core so we cannot configure WCF tracing there. </p>
  
  <p>I.e. this document is useless:
  <a href="https://docs.microsoft.com/en-us/dotnet/framework/wcf/diagnostics/tracing/configuring-tracing" rel="noreferrer">https://docs.microsoft.com/en-us/dotnet/framework/wcf/diagnostics/tracing/configuring-tracing</a></p>
  
  <p>We had to hack ASP.NET Core by putting a http proxy between WCF and port 80. WCF is actually running on another port.</p>
  
  <p>The question is, how do we enable WCF tracing if ASP.NET Core doesn't pay attention to the web.config?</p>