title: .NET Core Web API not working after being deployed to Azure
body: <p>I have a simple .NET Core Web API application—the one made by Visual Studio when a new project is created. I want to deploy it to an Azure App Service via FTP as part of a Team Foundation Server (TFS) 2017 build job, which is successful:</p>
  
  <p><a href="https://i.stack.imgur.com/o3fW7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o3fW7.png" alt="enter image description here"></a></p>
  
  <p>However, when trying a <code>GET</code> request such as the following URL:</p>
  
  <pre><code>http://somerandomname.azurewebsites.net/api/values
  </code></pre>
  
  <p>All I get is a 404 with the text:</p>
  
  <blockquote>
    <p>The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.</p>
  </blockquote>
  
  <p>From Kudu, I get the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/CPuyn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CPuyn.png" alt="enter image description here"></a></p>
  
  <p>What am I missing?</p>