Using the following tutorial I was able to easily integrate Application Insights into a WPF application in a matter of minutes…
This simple integration allows me to easily track page views and exceptions, along with a whole host of other useful diagnostics information. The Application Insights Azure portal allows you to explore and examine the tracked statistics, think Google Analytics for desktop applications. The Azure portal allows you to configure email alerts that can contain thresholds for things like the number of exceptions in a particular time period.
By adding the following line to a ProjectGroup element in you primary executable project file
You will get CodeLens information displayed in your project file…
This gives you a really simple window into the stats that have been collected for your application right within Visual Studio.
I’m now looking into how to track application performance with the Application Insights SDK but things look geared up to make this simple and straightforward.
This sort of insight is invaluable.