Application Insights integration in Visual Studio

Application Insights

Application Insights has been around for a while now and after a while I was wondering if there was a integration within Visual Studio.

For the readers that do not know what Application Insights is a small description:

“Application Insights is an extensible analytics service that monitors your live application. It helps you detect and diagnose performance issues, and understand what users actually do with your app. It’s designed for developers, to help you continuously improve the performance and usability of your app.”

After doing a couple of Azure related projects that all use Application Insights, some kind of integration with Visual Studio would be great. The integration I knew was the integration within the context menu:

Context Menu

  • Open Application Insights: Opens the application insights screen within the Azure preview portal.
  • Configure Application Insights: Opens the application insights configuration screen within the Azure preview portal.
  • Search: Opens a integrated window within Visual Studio to search trough events within Application Insights.

Untill today I was only aware of the first two options maybe upgrade 1 of Visual Studio 2015 added the search functionality.

The update I received today made me wondering what the integration within Visual Studion 2015 is.

Update application insights

The “Search” option can also be found within the “View” menu under “Other Windows” and then “Application Insights Search”.

Other Windows - Application Insights Search

When the window opens it will try to make a connection to an Azure account and you will get the option to select an Application Insights application. After you made you choice your are able to search and select a specific time frame to search in.

The search results can be filterd by specific events:

  • Custom Event
  • Dependency
  • Exception
  • Page View
  • Request
  • Trace

When you perform the search it will give you a list of results.

Application Insights Search

On the left side of the screen you can further drill down into the results by the different properties the events contain. By selecting a specific event a detail view will be added in the window. This view will include all neccesary information regarding the event.

Application Insights Search with Detail

The details window will also include a lot of information about exceptions.


The information shown in the integration is really fantastic specially if you are looking for specific events. Another great point about this integration is that you do not require to switch windows when developing a application that is using application insights.

Related Posts

Azure DevOps Automation A couple of weeks ago the rename / rebranding of Visual Studio Team Services to Azure DevOps was announced. The rebranding is a great step forward int...
AKS (Kubernetes) and no connection could be made because the target machine acti... A client of my had an error while connecting to different resources within their Kubernetes cluster in Azure (AKS). Kubectl error On the kubectl com...
Kubernetes (AKS) attached to Azure Storage (Files) Kubernetes (AKS) can be used for many situations. For a client we needed to make files available trough a Kubernetes Pod. The files needed to be share...
Resource Group deployment via ARM templates When deploying an Azure Resource Manager (ARM) template you have to create a resource group within Azure. To deploy a template via script your script ...
Azure Managed Service Identity and Local Development Instead of storing user credentials of an external system in a configuration file, you should store them in the Azure Key Vault. Before MSI (Managed S...
The securitydata Azure resource group Most of the times companies have rules in place for managing their Azure environment. The main rules that should be in place are “Azure Policies” and ...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.