locked
ASP.NET CORE AI Not working RRS feed

  • Question

  • Hi all,

    I have a mysterious problem, when I run in debug mode in localhost the data is sent and shows in the relevant AI, BUT when I try to do the same against my web app nothing is recorded.

    any suggestions would be helpful.

    Thanks!

    Friday, November 4, 2016 1:01 AM

Answers

  • Web site setting take precedence over local configuration in Application Insights:

    https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/35f8d06e843b28bedf1fdc235789151fcb1efc36/src/Microsoft.ApplicationInsights.AspNetCore/Extensions/ApplicationInsightsExtensions.cs#L144

    My guess will be that you have app setting that re-route telemetry to the different component.

    Please file the issue on GitHub if you found this behavior unintuitive. Also it may not be aligned with the classic ASP.NET SDK behavior.

    Wednesday, November 9, 2016 11:52 PM