Hi @Rajneesh Yadav,
You need to use your app name to replace app_name
, the url and api are templates. You need to make sure you have the api method and using correct url to test it.
Please let me summarize, the problem with 404 encountered when deploying webapp to azure app service.
- First of all, we need to confirm whether the project contains view pages or webapi. Because swagger ui is generally used in the development environment, it usually disappears after publishing to azure, which is the expected behavior.
- If it contains view pages, then we need to log in to the kudu site (https://app_name.scm.azurewebsites.net), go to the wwwroot folder, and check whether the published files are complete. You can also publish the published files that run well locally by dragging and dropping.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Jason Pan