I've inherited an ASP.NET (4.7.2) app that successfully runs and starts on my machine. I'm now trying to deploy it to an Azure App Service via an Azure DevOps Pipeline. In an attempt to do this, I've created an Azure Build Pipeline that includes the following tasks:
NuGet
Restores the packages based on the .sln file
MSBuild
Builds the .csproj that defines my ASP.NET app.
Azure App Service Deploy
Attempts to deploy the ASP.NET app as a "Web App on Windows" to my deployment slot. The "Package or folder" is set to MyAspNetApp/bin
.
I can successfully build this pipeline. However, when I visit the URL allocated to my Azure App Service Deployment Slot, the only thing I see is "Hey, App Service developers! Your app service is up and running. Time to take the next step and deploy your code."
So, what am I missing? I would think you should just have to select the .csproj, the app service and the deployment slot. But, it seems more is required. All of the documentation I've found is for ASP.NET Core apps. However, my app is a traditional ASP.NET app.