Contributor
2970 Points
1210 Posts
Sep 04, 2017 05:35 AM|Deepak Panchal|LINK
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
Contributor
2970 Points
1210 Posts
Re: Application Insights
Sep 04, 2017 05:35 AM|Deepak Panchal|LINK
Hi joegreen2005,
you can try to use code like below.
or add code below in ApplicationInsights.Debug.config file.
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
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.