✅ Azure app service Web API project not running
I'm trying to deploy my Web API using Azure App Service. I followed this guide for VSCode: https://learn.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?tabs=net80&pivots=development-environment-vscode
After deploying the project, when I go to the default domain, it says that the page cannot be found, with a HTTP ERROR 404. When I go to the diagnosis page, it says that I have 10 instances of 503 HttpStatus errors, indicating that the server is unavailable (I was trying to access the web API from my deployed React frontend). Does this indicate that there's something in my web API that's broken? I was trying to configure environment variables and perhaps that could be the source of the issue.
I have restarted the project on Azure App Service a few times and it is still not working.
When running my frontend app and web API locally, they work properly; the frontend successfully fetches to and from the Web API, and CORS is set up correctly to allow this.
This is my first time using Azure App Service and deploying to it.
Quickstart: Deploy an ASP.NET web app - Azure App Service
Learn how to run web apps in Azure App Service by deploying your first ASP.NET app.
2 Replies
Please ignore this post for the time being. For some reason, I am able to access the deployed Web API from my deployed React frontend.
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View