解决方案构建后,网站需要很长时间才能启动 [英] Website takes a long time to start after solution build

查看:50
本文介绍了解决方案构建后,网站需要很长时间才能启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在开发中,建立项目库后,我们的Asp.Net 4网站花费了相当长的时间

In development, our Asp.Net 4 website takes a fairly lengthy time to start after the project libraries are built

我们进行了大量的静电等操作,但不足以证明应用程序启动所需的时间(大约3-4分钟)

We do a fair amount of population of statics etc, but not enough to justify the length of time it takes the app to come up (probably 3-4 minutes)

我们不是在构建网站,而是在.config文件的编译元素中批处理!= true.

We aren't building the website, just the libraries, and batch != true in the compilation element in the .config file.

我将尝试记录一些诊断信息,但其他任何指针都将有用

I will try log some diagnostics, but any other pointers would be useful

推荐答案

您也可以在web.config的 compilation 会话中尝试 optimizeCompilations ="true"

You can also try the optimizeCompilations="true", on the compilation session of web.config.

<compilation debug="true" batch="false" optimizeCompilations="true" >

在我编译dll之后,我的网站在第一时间也无法运行.

My site also makes too long to run for the fist time, after I compile my dll's.

这篇关于解决方案构建后,网站需要很长时间才能启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆