Microsoft Application Insights for .NET Web Applications
DependencyTrackingTelemetryModule.EnableLegacyCorrelationHeadersInjection
and run app locally with Azure Storage Emulator, make sure you manually exclude localhost from correlation headers injection in the ExcludeComponentCorrelationHttpHeadersOnDomains
under DependencyCollector
<Add>localhost</Add>
<Add>127.0.0.1</Add>
Important: The 2.9.0-beta2 has a known issue - Installing this package will create ApplicationInsights.config file, but it'll not set it to be copied to output directory. Users are advised to set this file to 'Copy if newer' so that build output will have the ApplicationInsights.config file. This is expected to be fixed in next beta.