Chapter 6: Chaos Engineering
Activity 7: Chaos Experiment to Check the Resilience to Loss of a Function App
Delete the OrdersApi function in the portal and observe the issue on the orders.html page by submitting orders. The errors will become visible in the developer tools of your browser:

Figure 6.64: Failed request to order api
Create a backup OrdersApi.
Create a backup connection string on the orders.html file by using the JavaScript mentioned.
Navigate to the builds page in Azure DevOps. Click on the build definition you already have, click on the ellipses, and click Clone:

Figure 6.65: Build clone
You will be taken to your new build pipeline. Click on Pipeline and change the Path to solution or packages.config field to point to the path of the OrdersApi function, Lesson6/Activity7/OrdersApi/*.csproj:

Figure 6.66: Modify the build path to the solution
Click Save & queue and Save and Queue again. Click the build number to view the build progress:

Figure 6.67: Build process successful
Open the...