Invalid Login Attempt

Lab: Building an Enterprise Web App with Visual Studio 2017 and Azure


In this lab, you will gain hands-on experience building and deploying an enterprise web application in Azure by building a simple event management application written in ASP.NET MVC that uses Azure Web Apps, SQL Database, Azure Active Directory and Redis Cache. 

  • Estimated time required to complete: 2 hours, 35 minutes
  • You will have access to this environment for 5 hours, 0 minutes
Who this lab is designed for
  • Developers

Learning Objectives

  • Understand how to deploy and configure an Azure SQL Database
  • Understand how to deploy and configure Azure Web Apps
  • How to use Azure Redis Cache to enhance the performance of your web app
  • How to authenticate against an Azure Active Directory tenant
  • An introduction to connecting and querying Azure AD using Graph API
  • An introduction to using streaming logs with Azure Web Apps


  • Microsoft Azure Subscription
  • Familiarity with Visual Studio


Exercise 1: Lab Overview and Setup
In this exercise, you will create a Virtual Machine in Azure that will be used to complete the exercises in this lab.
Exercise 2: Creating and Configuring a SQL Database
In this exercise, you will create a SQL Database and configure firewall rules for connectivity.
Exercise 3: Configure Users in Azure AD Tenant

In this exercise, you will first create a new global admin account for your Azure AD and then add users to your Azure AD tenant using a PowerShell script.

Exercise 4: Building an Azure AD Aware Web App

In this exercise, you will create a web application that will leverage the SQL Database that you created earlier. You will then configure authentication with Azure AD, and write code to query the Azure AD Graph API.

Exercise 5: Implement Redis Cache

In this exercise, you will configure Redis Cache for your web application deployed in Azure.

Login to Start Lab

Not Registered? Already Registered?
Real Time Labs allow you to learn technology in an isolated environment without the hassle or cost of setting up a dedicated learning environment.