Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 ASP.NET Webforms 母版页,它需要 3.5 分钟才能呈现,我不知道为什么。
我添加了日志记录,它通过 Load 和 PreRender 的速度非常快,但在那之后,需要 3.5 分钟才能到达 Unload。
正在渲染的页面非常小,大约 80k,viewstate 大约是 10k(猜测)。
弄清楚了。就我而言,Umbraco 负责生成“页面”,因为我所拥有的只是一个包含控件的 MasterPage。其中一个控件有一个数据源,它为从数据库返回的每一行发出 Web 请求。这些请求无声无息地失败并超时。