question

KevinVH-8524 avatar image
0 Votes"
KevinVH-8524 asked ·

.NET Core app service shutting down on Linux

I'm am experimenting with a .NET Core 2.2 application on a Linux App Service. After awhile I will see the default "Hey .Net Core developers!" screen. When I look through my application logs, I have a bunch of exceptions happening due to issues in my code. I do have "Always On" enabled in the App Service settings. My questions are:

1) Is there some kind of configuration that tells the dotnet process to exit if a certain number of exceptions occur? If so, how can I turn that off?

2) In my startup settings for the App Service, I have my Startup Command as 'dotnet /home/site/wwroot/MyMVCAssembly.dll'. It seems like this command runs when the Docker container starts, which is fine.. but after the container is started, if that dotnet process dies for some reason, there's nothing that restarts it.

not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers