I have published a basic .net core app in Azure Appservice. I followed many articles and did it successfully. I even attached remote debugger for the published app in visual studio. But the debugger is not hitting the startup class also, App just simply returns 500 error and says currently unable to handle requests.
Application is working fine locally and I have also hosted it in IIS, In Intranet it's working fine!
Please advise what could be the fault in this case.
What I have tried:
I enabled debugging mode in azure app service and attached debugger in visual studio for the published app. But, not even startup class is hitting when URL is triggered.