Application Insights in multiple environments

The destination of the telemetry is determined by the so-called instrumentation key (iKey), which is sent along with every telemetry message. Problem: diagnostics data from DEV and PROD can interfere. Why? When you deploy a web app from Visual Studio, the¬†ApplicationInsights.config is included.¬†The ApplicationInsights config file holds the instrumentation key and is the same for…