How it works...

In the first three chapters, we created both the function app and the functions right within the portal. By contrast, so far in this chapter, we have created the function app and the functions in Visual Studio itself.

In this recipe, we have done the following:

The numbered points in this diagram refer to the following steps:

  1. Create a Docker image of the function app that we created in this chapter using Visual Studio. 
  2. Push the Docker image to the ACR
  3. From the portal, create a new function app, choosing to publish the executable package as a Docker image 
  4. Attach the Docker image from the ACR (from step 2 in the preceding guide) to the Azure Function (from step 3 in the preceding guide)