Application Insights can easily be initialized using Visual Studio for any ASP.NET Core web application. In our case, we will be configuring the web API layer to use Application Insights. Let's see how we can do this:
- If you right-click on the web application project, select Add | Application Insights Telemetry, and then click the Get Started link, Visual Studio automatically loads the resources that your account(s) are associated with, allowing you to choose a subscription, as well as the resource/resource group pair.
- The Configure Settings... option on this page should be used to assign an already existing resource group; otherwise the application insights instance will be created on a default ...