<编译调试="真">在precompiled asp.net网站 - 有什么关系? [英] <compilation debug="true"> in precompiled asp.net website - Does it matter?

查看:134
本文介绍了<编译调试="真">在precompiled asp.net网站 - 有什么关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我部署一个precompiled和使用上的Visual Studio Web部署项目2008注意,所有组件和项目都在Release模式编译所有页面合并网站。

I'm deploying a precompiled and all-page-merged website using Web Deployment Projects on Visual Studio 2008. Note that all assemblies and projects have been compiled in Release mode.

我所有的页面都是$ P $在发布模式下对编译。所以,他们不会被重新编译,他们就会被运行时加载。在当不需要的页面编辑,设置这种情况下,<编译调试=真正的> 的System.Web中将使任何区别

All my pages are pre-compiled in release mode. So they wont be recompiled, they'll just be loaded by runtime. In that case when the page compilation is not required, Setting <compilation debug="true"> in system.web will make any difference ?

推荐答案

检查出优秀以下链接:

  • ASP.NET Memory: If your application is in production… then why is debug=true
  • Don’t run production ASP.NET Applications with debug="true" enabled

基本上是:


  • 您$​​ C $ C会因为调试支持的开销的运行速度较慢。

  • 脚本和图像不缓存在客户端,因为你不希望事情发展中的缓存,如果你不断地进行修改和调试做。

  • 请求不超时。同样,当你调试code,你不想得到一个请求超时。

以上都不是可取的。你会发现在上面的链接的更多缺点。

None of the above is desirable. You will find more disadvantages in the above links.

这篇关于&LT;编译调试=&QUOT;真&QUOT;&GT;在precompiled asp.net网站 - 有什么关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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