After the ARM template is deployed and the Azure resources are created, our next step would be to deploy .NET Core applications (that is, microservice applications as well as our functions app).
Azure DevOps provides all the necessary tasks to build and create the deployment package for an app service/web app. The trifecta of creating a .NET Core web deployment package is composed of restore, build, and publish. All these dotnet CLI commands can be executed using the built-in tasks within the build-and-release pipeline. So, let's begin:
- We will start by restoring the NuGet packages for our users API microservice:
- The next step is to build the application using a specific build configuration (a pipeline variable can be used for this):
- After the project is built, we can prepare our web deployment package to be able to push it to the app...