Microsoft

Application Insights: Exception Telemetry

Dec 12, 2014Soubhagya Dash (MSFT)
Application Insights: Exception Telemetry
SummaryAI, from the source post

This post details how to capture exception telemetry for various .NET application types (MVC, Web API, WCF, Web Forms/Pages) by overriding default error handling and using the TrackException API to send exceptions that the HTTPModule might miss, especially when CustomErrors is not 'Off'. It provides code examples for MVC (versions 2, 3, 4/5), Web API 1.x, and outlines approaches for Web API 2.x, WCF, and Web Forms/Pages.

More from the Application Insights Deployment Markers trail