My appsettings.json is as follows:
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*"
}
I then deploy through visual studio, targeting framework netcoreapp3.0 with deployment mode as Self-Contained.
My azure service reports the following issue:
HTTP Error 500.0 - ANCM In-Process Handler Load Failure
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028526
The application logs contain the issue:
Application 'D:\home\site\wwwroot\' failed to start. Exception message:
Application arguments are empty.
Process Id: 4516.
File Version: 13.0.19218.0. Description: IIS ASP.NET Core Module V2. Commit: 4a42afc5aea63750638e118560d43db04bd9ccc2
However, I don't have application arguments since this is a web application. Could anyone please advise on how to get useful output from Azure Web Services that contain what actually went wrong?