I have an asp .net core website with the following in the web.config
<aspNetCore processPath="%LAUNCHER_PATH%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" arguments="%LAUNCHER_ARGS%" requestTimeout="00:20:00">
However it times out with the error
HTTP Error 500.37 - ANCM Failed to Start Within Startup Time Limit
I can see from https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-3.0 there the requestTimeout attribute doesn't apply to in-process hosting. Is there an alternative way to increase the timeout?
Another way forward would be rejig the application so it doesn't take so long to load on first hit, but for now I am trying to avoid that.