I'm having an issue with deploying a WebApp / API to Azure.
When I run it locally on localhost:44385//api/user/getuser/1, it returns the JSON for that user, once deployed to an App Service on Azure, it starts returning a 404.
Its running on the free version as its for a uni assignment. I've spent hours poking around and reading, and cant seem to find where i've gone wrong in the setup. Hoping someone might of had a similar issue.
Have you checked to make sure the server's routing rules are correct and that it's not looking in the directory structure?
Please verify below points:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.