title: AppInsights not capturing dependency calls on hosted app, but works on dev machine
body: <p>I have a solution composed of 3 web projects:</p>
  
  <p>1 - <code>MVC</code> app used as auth/STS</p>
  
  <p>2 - <code>Web Api 2</code> app</p>
  
  <p>3 - <code>MVC</code> app (main site) used to load an Angular app.</p>
  
  <p>I've downloaded all the nuget packages for <code>AppInsights</code> and everything should be configured correctly including having <code>&lt;Add Type="Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector" /&gt;</code> in the <code>ApplicationInsights.config</code> file.</p>
  
  <p>When I run my solution locally, I can see on the Azure portal that requests to my API are recording the dependency data (db queries). However, once I deploy to Azure, <code>AppInsights</code> records that a request was made to my API but it <strong>does not</strong> record the dependency data (querying the db, etc.), which is what I'm actually after because I need a benchmark so I can start enhancing performance for load/stress testing.</p>
  
  <p>My current set up on Azure is that the main app (#3 above) is an <code>Azure Website</code> and the API as well as the auth app are hosted as virtual applications under the website.</p>
  
  <p>Thanks in advanced for any help.</p>