Adventures with App Insights: Tracking Custom Events in .NET Core Function Application

WARNING: According to this article, https://docs.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection#logging-services, is NOT A RECOMMENDED PRACTICE. While what I have done works, according to the article, adding¬†AddApplicationInsightsTelemetry()¬†to the services collection¬†“registers services that conflict with services provided by the environment.” In a previous article, we looked at how to track custom events in Azure Application Insights from a .NET Core Web…

Adventures with App Insights: Tracking Custom Events in an ASP.NET Core Web Application

I wanted to see how to track custom events in Azure Application Insights with an ASP.NET Core Web Application. A lot of what I wanted to do was found in the article, Application Insights for ASP.NET Core applications, I wanted to streamlined things a bit, specific to my use case. Let’s get started! In Azure,…