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
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/tutorial-asp-net-core.md
+15-21Lines changed: 15 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,9 +70,8 @@ In order to provide globally unique names to resources, a six-character suffix i
70
70
71
71
3. On the **Create a resource** screen, search for and select **Application Insights** in the marketplace search textbox.
72
72
73
-
:::image type="complex" source="media/tutorial-asp-net-core/search-application-insights.png" alt-text="Screenshot of the Create a resource screen in the Azure portal." lightbox="media/tutorial-asp-net-core/search-application-insights.png":::
74
-
Screenshot of the Create a resource screen in the Azure portal. The screenshot shows a search for Application Insights highlighted and Application Insights displaying in the search results, which is also highlighted.
75
-
:::image-end:::
73
+
<!-- long description for search-application-insights.png: Screenshot of the Create a resource screen in the Azure portal. The screenshot shows a search for Application Insights highlighted and Application Insights displaying in the search results, which is also highlighted. -->
74
+
:::image type="content" source="media/tutorial-asp-net-core/search-application-insights.png" alt-text="Screenshot of the Create a resource screen in the Azure portal." lightbox="media/tutorial-asp-net-core/search-application-insights.png":::
76
75
77
76
4. On the Application Insights resource overview screen, select **Create**.
78
77
@@ -96,11 +95,10 @@ In order to provide globally unique names to resources, a six-character suffix i
96
95
97
96
:::image type="content" source="media/tutorial-asp-net-core/application-insights-resource-group.png" alt-text="Screenshot of the application-insights-azure-cafe resource group in the Azure portal with the Application Insights resource highlighted." lightbox="media/tutorial-asp-net-core/application-insights-resource-group.png":::
98
97
99
-
8. On the Overview screen of the Application Insights resource, select the **Copy to clipboard** button to copy the connection string value to use it in the next section of this article.
98
+
8. On the Overview screen of the Application Insights resource, select the **Copy to clipboard** button to copy the connection string value. You will use the connection string value in the next section of this article.
100
99
101
-
:::image type="complex" source="media/tutorial-asp-net-core/application-insights-connection-string-overview.png" alt-text="Screenshot of the Application Insights Overview screen in the Azure portal, which includes the connection string value." lightbox="media/tutorial-asp-net-core/application-insights-connection-string-overview.png":::
102
-
Screenshot of the Application Insights Overview screen in the Azure portal. The screenshot shows the connection string value highlighted and the Copy to clipboard button selected and highlighted.
103
-
:::image-end:::
100
+
<!-- long description for application-insights-connection-string-overview.png: Screenshot of the Application Insights Overview screen in the Azure portal. The screenshot shows the connection string value highlighted and the Copy to clipboard button selected and highlighted. -->
101
+
:::image type="content" source="media/tutorial-asp-net-core/application-insights-connection-string-overview.png" alt-text="Screenshot of the Application Insights Overview screen in the Azure portal." lightbox="media/tutorial-asp-net-core/application-insights-connection-string-overview.png":::
104
102
105
103
## Configure the Application Insights connection string application setting in the web App Service
106
104
@@ -110,9 +108,8 @@ In order to provide globally unique names to resources, a six-character suffix i
110
108
111
109
2. From the left menu, under the Settings section, select **Configuration**. Then, on the **Application settings** tab, select **+ New application setting** beneath the Application settings header.
112
110
113
-
:::image type="complex" source="media/tutorial-asp-net-core/app-service-app-setting-button.png" alt-text="Screenshot of the App Service resource screen in the Azure portal." lightbox="media/tutorial-asp-net-core/app-service-app-setting-button.png":::
114
-
Screenshot of the App Service resource screen in the Azure portal. The screenshot shows Configuration in the left menu under the Settings section selected and highlighted, the Application settings tab selected and highlighted, and the + New application setting toolbar button highlighted.
115
-
:::image-end:::
111
+
<!-- long description for app-service-app-setting-button.png: Screenshot of the App Service resource screen in the Azure portal. The screenshot shows Configuration in the left menu under the Settings section selected and highlighted, the Application settings tab selected and highlighted, and the + New application setting toolbar button highlighted. -->
112
+
:::image type="content" source="media/tutorial-asp-net-core/app-service-app-setting-button.png" alt-text="Screenshot of the App Service resource screen in the Azure portal." lightbox="media/tutorial-asp-net-core/app-service-app-setting-button.png":::
116
113
117
114
3. In the Add/Edit application setting blade, complete the form as follows and select **OK**.
118
115
@@ -139,9 +136,8 @@ We need to configure the ASP.NET Core MVC web application to send telemetry. Thi
139
136
140
137
3. Select the **Browse** tab and then search for and select **Microsoft.ApplicationInsights.AspNetCore**. Select **Install**, and accept the license terms. It is recommended you use the latest stable version. For the full release notes for the SDK, see the [open-source GitHub repo](https://github.com/Microsoft/ApplicationInsights-dotnet/releases).
141
138
142
-
:::image type="complex" source="media/tutorial-asp-net-core/asp-net-core-install-nuget-package.png" alt-text="Screenshot of the NuGet Package Manager user interface in Visual Studio." lightbox="media/tutorial-asp-net-core/asp-net-core-install-nuget-package.png":::
143
-
Screenshot that shows the NuGet Package Manager user interface in Visual Studio with the Browse tab selected. Microsoft.ApplicationInsights.AspNetCore is entered in the search box, and the Microsoft.ApplicationInsights.AspNetCore package is selected from a list of results. In the right pane, the latest stable version of the Microsoft.ApplicationInsights.AspNetCore package is selected from a drop down list and the Install button is highlighted.
144
-
:::image-end:::
139
+
<!-- long description for asp-net-core-install-nuget-package.png: Screenshot that shows the NuGet Package Manager user interface in Visual Studio with the Browse tab selected. Microsoft.ApplicationInsights.AspNetCore is entered in the search box, and the Microsoft.ApplicationInsights.AspNetCore package is selected from a list of results. In the right pane, the latest stable version of the Microsoft.ApplicationInsights.AspNetCore package is selected from a drop down list and the Install button is highlighted. -->
140
+
:::image type="content" source="media/tutorial-asp-net-core/asp-net-core-install-nuget-package.png" alt-text="Screenshot of the NuGet Package Manager user interface in Visual Studio." lightbox="media/tutorial-asp-net-core/asp-net-core-install-nuget-package.png":::
145
141
146
142
Keep Visual Studio open for the next section of the article.
147
143
@@ -285,15 +281,13 @@ Application Insights introspects the incoming telemetry data and is able to gene
:::imagetype="complex"source="media/tutorial-asp-net-core/server-performance.png"alt-text="Screenshot of the Application Insights Performance screen in the Azure portal with server performance data displayed."lightbox="media/tutorial-asp-net-core/server-performance.png":::
:::imagetype="content"source="media/tutorial-asp-net-core/server-performance.png"alt-text="Screenshot of the Performance screen in the Azure portal."lightbox="media/tutorial-asp-net-core/server-performance.png":::
:::imagetype="complex"source="media/tutorial-asp-net-core/select-operation-performance.png"alt-text="Screenshot of the Application Insights Performance screen in the Azure portal with operations and sample operations listed."lightbox="media/tutorial-asp-net-core/select-operation-performance.png":::
:::imagetype="content"source="media/tutorial-asp-net-core/select-operation-performance.png"alt-text="Screenshot of the Application Insights Performance screen in the Azure portal with operations and sample operations listed."lightbox="media/tutorial-asp-net-core/select-operation-performance.png":::
@@ -368,7 +362,7 @@ The ValuesController above is deployed with the sample application and is locate
368
362
369
363
:::image type="content" source="media/tutorial-asp-net-core/values-api-url.png" alt-text="Screenshot of a browser window with /api/Values appended to the URL in the address bar." lightbox="media/tutorial-asp-net-core/values-api-url.png":::
370
364
371
-
2.Wait a few moments, then return to the **Application Insights** resource in the [Azure portal](https://portal.azure.com).
365
+
2.In the [Azure portal](https://portal.azure.com), wait a few moments and then select the **azure-cafe-insights-{SUFFIX}** Application Insights resource.
372
366
373
367
:::image type="content" source="media/tutorial-asp-net-core/application-insights-resource-group.png" alt-text="Screenshot of the application-insights-azure-cafe resource group in the Azure portal with the Application Insights resource highlighted." lightbox="media/tutorial-asp-net-core/application-insights-resource-group.png":::
0 commit comments