I created my first “ASP.NET Core Web API” project. From within Visual Studio I can deploy it to an Azure Web App (App Services) and I can test it successfully from within the Azure API Management instance.
I’m working on setting up an Azure DevOps pipeline for it that has an “Azure App Service Deploy” task. I can transfer all the files in the $(Agent.TempDirectory)WebAppContent directory (…objReleasenet8.0PubTmpOut on disk) to C:homesitewwwroot but that deployment won’t work; I’m getting 500 statuses in the API Management tests. Inspecting the deployments using the ….scm.azurewebsites.net tool I’m noticing that in the successful Visual Studio deployment the hostingstart.html file is present, after the Azure DevOps pipeline deployment it is missing. Is there in Azure DevOps some “Azure App Service Deploy” or “Visual Studio build” task argument that I can use to have that file generated? Or is my diagnosis wrong to start with?