From 6d4e10eeb71286d776a0d6dad22e53529a8a5c7d Mon Sep 17 00:00:00 2001 From: John Rowley Date: Sat, 31 Oct 2015 10:30:40 -0700 Subject: [PATCH] Fixed an indentation error where some code was cut off in an example. --- aspnet/fundamentals/application-insights.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/aspnet/fundamentals/application-insights.rst b/aspnet/fundamentals/application-insights.rst index 13c1a9359a..e39263ebd5 100644 --- a/aspnet/fundamentals/application-insights.rst +++ b/aspnet/fundamentals/application-insights.rst @@ -11,7 +11,7 @@ By `Steve Smith`_ In this article: - `Getting started`_ - `Viewing activity`_ - + `View or download sample on GitHub `_. Getting started @@ -21,7 +21,7 @@ Getting started To get started with Application Insights, you will need a subscription to Microsoft Azure. If your team or organization already has a subscription, you can ask the owner to add you to it using your Microsoft account. -Sign in to the `Azure portal `_ with your account and create a new Application Insights resource. +Sign in to the `Azure portal `_ with your account and create a new Application Insights resource. .. image:: application-insights/_static/azure-create-appinsight.png @@ -33,11 +33,11 @@ Next, update ``project.json`` to add a new reference to ``Microsoft.ApplicationI :linenos: :language: json :lines: 6-30 - :dedent: 4 + :dedent: 2 :emphasize-lines: 29 Saving the ``project.json`` file will download and install the required packages. - + Next, edit (or create) the ``config.json`` file, adding the instrumentation key you noted above from your Application Insights resource in Windows Azure. Specify an "ApplicationInsights" section with a key named "InstrumentationKey". Set its value to the instrumentation key. .. literalinclude:: application-insights/sample/AppInsightsDemo/src/AppInsightsDemo/config.json @@ -122,4 +122,3 @@ Additional Resources - `Application Insights API for custom events and metrics `_ - `Application Insights for ASP.NET 5 `_ -