After the release of .net core 2.1, hostingModel="inprocess" does not appear in web.config, no problem。
After the release of .net core 3.1, delete hostingModel="inprocess" and you can browse normally。
Ask what causes it, I want to solve this problem
<aspNetCore processPath="dotnet" arguments=".\NewDeBao.OfficeApplication.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />