Introduction
- What is Azure DevOps?
- What is Azure DevOps Services?
- What is Azure Pipelines?
- Hands-on Lab - Open Azure Devops and Manage Code
- Hands-on Lab - Create a sample .NET Core app
What is Azure DevOps?
It takes care of the following things.
- Storing code in the repository like GitHub
- Creating a build pipeline
- Creating a release pipeline
- Managing the agile process like JIRA
- Seamless integration with VS and Azure
What is Azure DevOps Services?
- Azure Pipelines: Deploy anything in any language in minutes.
- Azure Repos: Private repositories.
- Azure Artifacts: A repository in Azure to upload our artifacts.
- Azure Boards: It provides agile planning boards like Kanban/Scrum.
- Azure Test Plans: Manual & Exploratory tools for testing.
Azure Pipelines provide a built-in feature which allows us to,
- Take the code from its repository
- Provision the required infrastructure via ARM in a Resource group
- Pre-built pipelines with Build/Release tasks ready to use
- Add monitoring via App Insights
What is Azure Pipeline?
The lifecycle begins with the build phase and during the execution, the code will typically go through -
- Build
- Run tests
- Upload the test results
- Publish built artifacts
Once the build is complete we need something to deploy, a tool. Azure Pipelines offer the release tool which can be triggered when a new artifact is published. The release tool can be triggered even from Jenkins or any other tool by using hooks.
The release phase will typically go through these steps:
- Check out the code
- Deploy the Infrastructure via ARM
- Download the artifacts
- Deploy
Prerequisites
These are pre-requisites to start working on Azure Devops,
- An Azure pay-as-you go account enabled
- A repository with the code expected to be deployed (optional - will demo it later as well)
- Add a custom Resource group project if you wish to provision additional infrastructure (optional - will demo it later as well)
Hands-on Lab - Open Azure DevOps and Manage Code
- Open https://dev.azure.com/ and login using your Azure credentials.
- Create a project.

- Go to the repo section of the code.

- Clone the repo using git.
Hands-on Lab - Create a sample .NET Core app
- Open VS 2017 and create a project.
- Choose ASP.NET Core template and create a directory.

- Choose a .NET Core MVC template.

- Once the application has been created, run the app.

- Add git, ignore file and push all the code into the repo using Git.



Anil GoyalPosted Jul 9, 2020, 11:16 PM
Can you please explore more about the steps when you said 'Add git, ignore file and push all the code into the repo using Git."
Chittaranjan SwainPosted Sep 25, 2019, 9:45 PM
Nice Article thanks for sharing...
Suketu NayakPosted Apr 5, 2019, 1:04 AM
Very good......
Gourav JainPosted Mar 22, 2019, 12:17 AM
Thank you Mahesh 👍
Mahesh ChandPosted Mar 16, 2019, 9:04 PM
Great series. Needed one. Thank you, Gaurav.