Skip to content

Commit 5150fba

Browse files
authored
Merge pull request #113494 from mrbullwinkle/mrb_04_30_2020_AI_Key_settings
update to clarify doc per github issue
2 parents 7eff192 + 78a55db commit 5150fba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/azure-monitor/app/asp-net-core.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ The [Application Insights SDK for ASP.NET Core](https://nuget.org/packages/Micro
105105

106106
* `SET APPINSIGHTS_INSTRUMENTATIONKEY=putinstrumentationkeyhere`
107107

108-
Typically, `APPINSIGHTS_INSTRUMENTATIONKEY` specifies the instrumentation key for applications deployed to Azure Web Apps.
108+
* `APPINSIGHTS_INSTRUMENTATIONKEY` specifies the instrumentation key for applications deployed to [Azure Web Apps](https://docs.microsoft.com/azure/azure-monitor/app/azure-web-apps?tabs=net).
109+
110+
In lieu of setting instrumentation keys you can now also use [Connection Strings](https://docs.microsoft.com/azure/azure-monitor/app/sdk-connection-string?tabs=net)
109111

110112
> [!NOTE]
111113
> An instrumentation key specified in code wins over the environment variable `APPINSIGHTS_INSTRUMENTATIONKEY`, which wins over other options.

0 commit comments

Comments
 (0)