Wednesday, February 7, 2018

Configure Application Insights option not shown

While following the documented steps to configure Application Insights for my ASP.NET MVC website, I was already blocked on the first step:

  • Step 1: Add the Application Insights SDK: Right-click your web app name in the Solution Explorer, and choose Configure Application Insights

Screenshot of Solution Explorer, with Configure Application Insights highlighted

But I couldn’t find this option when I right clicked on my project?!

In Visual Studio 2017, ‘Configure Application Insights’ is no longer a separate option on the context menu. Instead you can access it through the Connected Services:

  • Right click on Connected Services and choose Add Connected Service.

image

  • Select Monitoring with Application Insights from the list of options.

image

  • The Application Insights configuration wizard is loaded and you can continue following the documentation.

image

No comments: