Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Create a Multi-Stage Build in Azure Pipelines to Deploy a .NET App

Your challenge is to deploy a .NET app to Azure using Azure DevOps. More specifically, you must create a multi-stage build, using YAML. The code has been provided, and you must create the build, and deploy operations.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Aug 19, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an Azure DevOps Organization

    1. Log in to the Azure portal using the provided credentials.
    2. Navigate to Azure DevOps.
    3. Create a new organization and project named MyFirstProject.
  2. Challenge

    Import Code and Set Up Environment

    1. Import the code from this GitHub repository: https://github.com/ACloudGuru-Resources/content-az400-lab-resources.git.
    2. Create a service connection for Azure Resource Manager using the service principal provided.
  3. Challenge

    Create the CI/CD Pipeline

    1. This lab requires the use of a self-hosted agent. Instructions can be found here: Self-Hosted Agent Instructions.
    2. Create a YAML template with a build and deploy stage.
    3. Include a task to use .NET Core version 3.1.x.
    4. Make sure BOTH stages are using the self-hosted agent.

      HINT: Use the assistant in Azure DevOps to help with YAML build syntax.

    Optionally, you can use the provided YAML template

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans