DevOps for your Organization – Part 3: Creating Your Demo Project
In the previous post, we set up and connected to an Azure DevOps git repository.
In this post, I will be going through the steps for creating a sample application and committing it to our git repository. By the end of this post, we will have:
- Created a sample ASP.NET Core Web Application Project
- Pushed your project to Azure DevOps
Create Demo Project
For the purposes of this demo, we will be creating a new ASP.Net Core Web Application. To do that in Visual Studio 2019, click File → New → Project. Alternatively, you can simply press Ctrl+Shift+N.
In the New Project modal, select ASP.NET Core Web Application and click Next.
In the next window, fill out your information and click Create. You will want to set the location to where we cloned the repository in the previous post.
Select Web Application and click OK.
This will create the project we will be using moving forward.
Push To Azure DevOps
Finally, we will need to push our new code to our remote git repository.
To push your project to the connected Azure DevOps git repository, open up the Team Explorer window. If you don’t see it, you can click on
View→ Team Explorer. Alternately, you can use the keyboard shortcut Ctrl+\, Ctrl+M.
Click the Changes button.
Write your commit message and click Commit All.
Click sync to review your changes and push to push them up to the Azure DevOps repository.
And that’s it! We are now ready to start building out our Azure DevOps pipeline for continuous integration and release. In the next post, we will be setting up a build process to build our code and check it for any errors.
This post is part of the DevOps for your Organization series, where we walk through some basic steps you can take to move your organization towards the DevOps process. The full series can be found here. If you’d like Code Vanguard to help your organization with its DevOps process, feel free to reach out to us!