- Open a browser and navigate to your Azure DevOps organisation. The old URL is https://youraccountname.visualstudio.com and will work indefinitely or the new URL is https://dev.azure.com/yourorganisationname.
- In your Azure DevOps organisation select Create Project.
An empty git repository has been created in Azure DevOps and this step will clone that to a git repository on your local machine so that you can work locally and then push to Azure DevOps when required. There are different ways of doing this (command line, clone from Azure Repos in the browser) but here we will clone from within Visual Studio.
- Launch Visual Studio. If you haven't used Visual Studio on the machine before you will be prompted to sign in when Visual Studio starts. Sign in with the account that you are using for Azure DevOps.
- Open the Team Explorer view (usually right hand side of the IDE ina view next to the Solution Explorer) and select Manage Connections | Connect to Project.
- Select the Web App project (you may only have one project listed) expand it to show the Web App repository and then click Clone.
- If you now open the Team Explorer (bottom right hand corner) you will see that the repository has been cloned succesfully.
This step will create a sample web application using a standard Visual Studio template for simplicity.
- Select New in the Solutions area of Team Explorer. This ensures that the app will be created in the correct location for the local git repo.
You now have a web application. The next step is to add the application to Git so that it is under source control.
- In the Visual Studio Team Explorer, select Changes.
You now have a web application, committed to source control in Azure DevOps. The next step is to add an automated build that is triggered every time code is pushed to the repo - Continuous Integration.