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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.