Deploying .NET Core applications
Once the ARM template is deployed and the Azure resources are created, our next step is 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 user's 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, prepare the web deployment package to be able to push it to...