Why does Kestrel shut down while uploading an image?
I’m running an ASP.NET Core 8 Web API with EF Core, MariaDb, SixLabors.ImageSharp 3.1.5 on IIS out-of-process on Plesk. I have configured global exception handling middleware and it’s called before the endpoints.
builder.Services.Configure is not called during startup
I try to set some configuration values during the startup before I configure Kestrel. I try to do this to use some settings from singleton and a ILogger during the configuration.