From 67ac9a004820158b3d4742198eaad77030e561f7 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 21 Oct 2015 22:26:36 -0400 Subject: [PATCH] add instrumentation js --- src/DotNetMashup.Web/Views/Shared/_Layout.cshtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml b/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml index c6070ef..a62f730 100644 --- a/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml +++ b/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml @@ -1,4 +1,5 @@ - +@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration + @@ -10,6 +11,7 @@ asp-fallback-test-class="hidden" asp-fallback-test-property="visibility" asp-fallback-test-value="hidden" /> + @Html.ApplicationInsightsJavaScript(TelemetryConfiguration)