You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2020. It is now read-only.
If you are reporting bug/issue, please provide detailed Repro instructions.
Repro Steps
Enable AI:
var aiOptions = new ApplicationInsightsServiceOptions();
aiOptions.EnableHeartbeat = false;
services.AddApplicationInsightsTelemetry(aiOptions);
Provide ikey in appsettings,json
Actual Behavior
ikey from appsettings.json is overwritten by the one in aiOptions which is empty.
Expected Behavior
Do not override aiOptionsIkey unless its not null/non empty.
Version Info
SDK Version (version of https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) :
.NET Core Version (TargetFramework in your .csproj file) :
How Application was onboarded with SDK(Installed Nugets/VisualStudio/Azure WebAppExtension) :
OS :
Hosting Info (IIS/Azure Web Apps/Running From Visual Studio etc) :
If you are reporting bug/issue, please provide detailed Repro instructions.
Repro Steps
var aiOptions = new ApplicationInsightsServiceOptions();
aiOptions.EnableHeartbeat = false;
services.AddApplicationInsightsTelemetry(aiOptions);
Actual Behavior
ikey from appsettings.json is overwritten by the one in aiOptions which is empty.
Expected Behavior
Do not override aiOptionsIkey unless its not null/non empty.
Version Info
SDK Version (version of https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) :
.NET Core Version (TargetFramework in your .csproj file) :
How Application was onboarded with SDK(Installed Nugets/VisualStudio/Azure WebAppExtension) :
OS :
Hosting Info (IIS/Azure Web Apps/Running From Visual Studio etc) :