Multi-Stage Pipeline + Asp.Net Core + Angular + Azure App Service

Azure Multi-Stage Pipeline for Asp.Net Core and Azure, Deploy to Azure App Service

Create a multi-stage pipeline, for our Asp.Net core and Angular application, with a task to deploy it to the Azure App Service.

Image for post
Image for post
Multi-Stage Pipeline + Asp.Net Core + Angular + Azure App Service

Asp.Net Core Application with Angular

I already created both Asp.Net and Angular applications using the Angular project template. There are many advantages that I can think of if you are using this template. Some of them are listed below.

  • Efficient production builds. In production mode, development-time features are disabled, and your dotnet publish configuration automatically invokes ng build to produce minified, ahead-of-time compiled JavaScript files.

Azure Multi-Stage Pipeline

Go to your Azure DevOps project and click on the Pipelines, you should see an option to create a dummy YAML file there. And when it is created, just replace it with the preceding content.

Image for post
Image for post
Multi-Stage Pipeline Output

Conclusion

Here in this post, we have seen how to create an azure multi-stage pipeline fou our Asp.Net core and Angular application, that will also deeply to an Azure App Service.

About the Author

I am yet another developer who is passionate about writing and video creation. I have written close to 500 blogs on my blog. And I upload videos on my YouTube channels Njan Oru Malayali and Sibeesh Passion. Please feel free to follow me.

Your turn. What do you think?

Thanks a lot for reading. Did I miss anything that you may think which is needed in this article? Could you find this post useful? Kindly do not forget to share your feedback.

An engineer by profession and writer by passion. Microsoft MVP, Author, Blogger. sibeeshpassion.com, youtube.com/sibeeshPassion, youtube.com/njanorumalayali

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store