There could be several reasons why your web app is still broken even after reverting to the original example code. Here are a few possibilities to consider:
- Environment Issues: Changes in the environment settings or dependencies might have occurred when you deployed your own code. Ensure that the environment is configured correctly and that all necessary dependencies are installed as per the original example.
- Cache or State: Sometimes, the application state or cache might not reset properly when you revert to the original code. You might want to clear any caches or reset the application state if possible.
- Configuration Changes: If you made any changes to the configuration settings (like app settings or connection strings) while deploying your own code, those changes might still be in effect. Double-check the configuration settings to ensure they match those of the original example.
- Deployment Logs: Check the deployment logs for any errors or warnings that might indicate what went wrong during the deployment of your own code and after reverting. This can provide insights into what might be causing the issue.
- Container Issues: If you are using a custom container, ensure that the container image is correctly updated and that there are no issues with the image itself. You might need to refresh the container if it's still using an old version.
If you continue to face issues, consider reviewing the troubleshooting guide for Azure App Service, which can provide more specific guidance on resolving deployment problems.
References: