User347430248 posted
Hi
joegreen2005,
you can try to use code like below.
TelemetryConfiguration.Active.DisableTelemetry = true;
or add code below in ApplicationInsights.Debug.config file.
<Content Include="ApplicationInsights.config" />
<None Include="ApplicationInsights.Debug.config">
<DependentUpon>ApplicationInsights.config</DependentUpon>
</None>
<None Include="ApplicationInsights.Release.config">
<DependentUpon>ApplicationInsights.config</DependentUpon>
</None>1234567
you can visit link below to get detailed information.
How to disable the Application Insights while in Debug ?
Turn off Application Insights for your dev environment
Regards
Deepak