2
votes

I am trying to publish my existing asp net core 2.0 web application to azure app services. My app is working in debug on my computer. I followed this tutorial [link]https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-tutorial-dotnet-sqldatabase . Everything went smooth without errors. But when I go to the webpage I just get a very helpful 500 error. What can I do? How to debug? Im new to azure.

Thank you

1

1 Answers

4
votes

You need a way to remotely view the exception in order to get more information for debugging. Here is a helpful doc on setting up Remote Debugging. https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure

Check out the section "Remote Debug ASP.NET Core on an Azure App Service"