Sign in to the Microsoft Azure portal.
In the search box, type DevOps, and then select DevOps Starter. Then click on Create DevOps Starter.
![Microsoft Azure]()
![Create]()
By default, DevOps Starter project setup with GitHub. Click on change settings here to change the destination to Azure DevOps and click Don.
![Azure Devops]()
Now select the .NET sample application and click Next.
![.Net]()
The .NET samples include a choice of either the open-source ASP.NET framework or the cross-platform .NET Core framework. Select the .NET Core application framework. This sample is an ASP.NET Core MVC application. And also, enable Add a database toggle to add the database to the application. When you’re done, choose Next.
![]()
Web App on Windows is the default deployment target. You can optionally choose Virtual Machine also. When you’re done, choose Next.
![Service]()
Select your Azure DevOps organization and choose a name for your project and Web app. When you’re done, choose Review + Create.
![Review+ Create]()
![Additional Information]()
You can click on Additional Settings if you would like to edit the web app and database parameters.
![Deployment Complete]()
Once the deployment completes, click Go to the resource.
DevOps project dashboard loads as shown in the below image.
![Pipeline]()
DevOps project
You’re now ready to collaborate with a team on an ASP.NET Core app with a CI/CD process that automatically deploys your latest work to your website.
-
Created a team project with a sample .NET code repository
-
Created a build and release pipelines to compile, test, and deploy the application
-
Created Azure Web App and Azure SQL database in Azure using Azure Pipelines
If Azure Resources are not created, they will be created by CI/CD pipeline. You can track pipeline status in ‘CI/CD pipeline’ section
On the right side of the dashboard, select Browse to view your running application.
![Browse]()
The web app looks like as shown in the figure below.
![Success]()