Implementing defensive applications using Azure functions and queue triggers
For many applications, even after performing multiple tests of different environments, there might still be unforeseen reasons that an application might fail. Developers and architects cannot predict all unexpected inputs throughout the lifespan of an application being used by business users or general users. So, it's good practice to make sure that your application alerts you if there are any errors or unexpected issues with the application.
In this recipe, we'll learn how Azure functions help us handle (and receive alerts about) errors with minimal code.
Getting ready
Before starting the recipe, please make sure you have done the following:
- Create a storage account using the Azure portal if you have not created one.
- Install Azure Storage Explorer from http://storageexplorer.com/ if you have not installed it yet.
How to do it…
In this section, we'll perform...