问题
I am trying to run HealthChecks UI AspNetCore.Diagnostics.HealthChecks in my ASP.NET Core WebAPI. All works fine on local, but when I deploy to Azure WebApp whole application dies. When I remove the UI from the services in the Startup, all is fine, so I got to conclustion that HealthChecks UI is crashing.
It uses SQLite to store data, so I suspect at this part. I connected via SFTP to the WebAppp where I deployed it and I can see that the SQLite database file is created but has 0 bytes content.
At first I thought it might be problem with Linux host, but app dies on Windows WebApp as well when this package is used for displaying the health checks.
Any clue what might be the issue?
来源:https://stackoverflow.com/questions/55280065/asp-net-core-on-azure-webapp-crashes-because-of-sqlite