Guide to Custom TrackAvailability Tests in .NET Applications with Azure

Ibrahim Jaber
3 min readDec 18, 2023

In the fast-paced world of software development, ensuring your application is not only functional but also available is crucial. In this guide, we’ll embark on a journey to master availability tracking using Custom TrackAvailability tests in a .NET application, coupled with the power of Azure. Buckle up, fellow developers, as we unravel the mysteries of tracking your application’s heartbeat!

The Business Challenge: A Fun and Engaging Scenario

Imagine you’re building an e-commerce platform that experiences occasional hiccups in its availability. Customers trying to make purchases are met with frustration due to intermittent downtime. Your mission, should you choose to accept it, is to implement a robust availability tracking system to ensure your users can shop seamlessly.

Step 1: Setting the Stage with Azure Application Insights

Our weapon of choice for this mission is Azure Application Insights. Start by creating an Application Insights resource in the Azure portal. Think of it as your command center for monitoring and tracking application telemetry.

--

--

Ibrahim Jaber

Software developer | Programming and Blockchain enthusiast