当我第一次浏览我的网站时,互联网将旋转/装载。如果我稍后一直试着再次加载它,一切都正常工作。

就像它是“睡觉”。

我认为它必须与“回收”有关。我已经将“空转超时”为0并将“常规时间间隔”回收为0。

在我浏览我的网站之前,我看一下“工人进程”,它说App池进程正在运行。

任何想法为什么我的网站“睡着了”?

谢谢! mojo

有帮助吗?

解决方案

Your ASP.NET pages are compiled the first time they are requested (see "Understanding ASP.NET Dynamic Compilation"). So this might be the issue why your first request takes so long.

To avoid that, you can precompile your ASP.NET application:

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top