- Lab
- A Cloud Guru
Create and Test an ASP.NET Core App in Azure Pipelines
You have a .NET Core application (with tests) that you need to push to Azure Repos and then build and test. You will be provided with the code, with which you must use Azure DevOps to complete these tasks.
Path Info
Table of Contents
-
Challenge
Create a DevOps Project and Push Code to Azure Repos
- Sign in to the Azure portal.
- Create a new Azure DevOps organization and project.
- Pull code from the
unit-test
branch of this GitHub repo. - Change the remote origin.
- Push code to Azure Repos using a Personal Access Token (PAT).
-
Challenge
Create a New Azure DevOps Pipeline
- This lab requires the use of a self-hosted agent. Instructions can be found here: Self-Hosted Agent Instructions.
- Go to Azure DevOps Pipelines and create a new pipeline with continuous integration.
- Make sure the pipeline is using the self-hosted agent.
- Use .NET Core version 3.1.x.
- Make a change to
Index.cshtml
and push to the main branch. - Verify job success.
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.