How to query Application Insights with C#

Update: the code example in this article uses an API that is now deprecated. It will only be useful if you are stuck using old NuGet library to query Application Insights. For new code, you should use https://www.nuget.org/packages/Azure.Monitor.Query/ instead. This article does not provide code example on how to use that newer API. Application Insights … Read more