How to Setup Build Pipeline for your ASP.Net Application with Azure DevOps Step by Step | For Beginners
Today we are going to Learn how you can Setup Build Pipeline for your ASP.Net application, If you are new to DevOps then Azure DevOps is a Platform for DevOps where we can manage almost everything we need to make our DevOps journey Smooth and Everything you would get in one single place which is Azure DevOps not matter what kind of application you wants to build. However it is Great platform so far.
Today we have ASP.Net WebApp and API which we are going to see how you can Setup your own Build Pipeline without requiring any Special Skills. In this project We are having Different Branches for Different Environment Dev, UAT, PreProd and Prod.
Creating your Build pipeline
- Go To Pipelines and create New pipeline for your project source code.
2. Now Select Classic Editor .
3. Select Source from where you wants to get your code, select Project , Repository and Branch and Click on Countiue.
4. You can select Predefine Build Templates or you can create your own, In our case we are taking ASP.NET .
5. Keep tasks as it is the template will automatically setup necessary properties. if you wants to change feel free to change those. in our case we are not changing anything in Job’s Steps here.
6. Change Build number format for your build pipeline (Optional).
7. Also you can enable Continues integration and Include branches on which you wants to build artifact automatically.
8. Now you can Save your changes and Queue it and check by running your pipeline.
As you can see it get automatic build triggered and artifact name is also set upon our format. In Next few days will also upload article about how you can setup your release pipeline as well.