更新时间:2023-02-16 13:31:37
我将Web.config中的规范更改为进程用尽.最初,该规范是针对InProcess的,如下所示:
I changed the specification in Web.config to run out of process. Originally the specification was for InProcess as follows:
<aspNetCore processPath="dotnet" arguments=".\Cashflow.dll" stdoutLogEnabled="false" hostingModel="InProcess" stdoutLogFile=".\logs\stdout">
我将其更改为OutOfProcess:
I changed this to OutOfProcess:
<aspNetCore processPath="dotnet" arguments=".\Cashflow.dll" stdoutLogEnabled="false" hostingModel="OutOfProcess" stdoutLogFile=".\logs\stdout">
和宾果!该应用程序将按预期运行.
and Bingo! The application runs as expected.
任何人都可以解释原因吗?
Can anyone explain why?