How to Create Custom Events, Metrics, Traces in Azure Application Insights using C#
In our previous post, we created a Web API app running in Azure with Application Insights enabled. In this post, we will show how to write custom events to App Insights using C#. We will use the same Web API code we installed in the previous post. Open the project in Visual Studio and install the Microsoft.ApplicationInsights NuGet package: Click OK: Now the code. Let’s add an Event, a Metric … Continue reading How to Create Custom Events, Metrics, Traces in Azure Application Insights using C#