Enabling diagnostics with Application Insights

Application Insights is an analytics platform that monitors the use of applications and provides insights on their performance and behavior. Application Insights has rich diagnostics capabilities and can be used to query logs and metrics that are sent to it. Application Insights is hosted in Microsoft Azure, but allows you to work with it locally and use its features from inside Visual Studio.

To use Application Insights in your application, follow these steps:

  1. Right-click the project in the Solution Explorer.
  2. Click on Add | Application Insights Telemetry...:

  1. In the Application Insights Configuration ...

Get Hands-On Full-Stack Web Development with ASP.NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.