Serverless architecture makes use of infrastructure provided by the cloud. You don't have to provision, manage, scale, and maintain any machinery or networks. Azure Functions is a fully managed PaaS service offered by Microsoft Azure to implement serverless architecture. Azure Functions is a fully scalable, resilient, reliable, and secure service.

Imagine that you're a senior web developer in a research role for an online luxury watch dealer, building a website based on Azure Web Apps. You've been asked to provide new functionality by writing and deploying individual methods that can be deployed, manually executed, scheduled, or even triggered by other Azure Services. The company follows a test-driven development process, so you're also required to write automated unit tests for the new services. You have a team of developers well-versed with Microsoft technologies including the .NET framework and Visual Studio. You decide to investigate the use of Azure Functions to meet your requirements.

By the end of this module, you'll be able to build and test an Azure Function locally using Visual Studio. You'll then see how to deploy the function to Azure from Visual Studio.

Learning objectives

In this module, you will:

  • Develop an Azure Function in Visual Studio
  • Test and debug an Azure Function in Visual Studio
  • Deploy an Azure Functions directly from Visual Studio to Azure
  • Manage Azure Function code


  • Basic knowledge of Azure Functions
  • Experience developing solutions in Visual Studio or a similar integrated development environment


The exercises in this module require a local installation of Visual Studio 2017.