My first answer on the question in the title would be to use Application Insights. But in case you didn’t configure Application Insights for your AppService, here is an alternative way to gain some insights.
To immediately spoil the answer, we will use Project Kudu to look behind the curtains of our Azure App Service.
How to find Project Kudu?
- Go to the Azure Portal
- Open the App Service Blade for your App Service and click on Advanced Tools.
- Click on go.
- Or if you want the quick way, browse to the scm endpoint through .scm.azurewebsites.net/">https://<appservicename>.scm.azurewebsites.net/
Process Explorer
- Click on the Process Explorer at the top
- Remark: This is only available when your are running the Windows version of an App Service
- Now you can see all the processes and even start profiling