有没有什么办法可以加快asp.net的编辑 - 编译 - 调试周期? [英] Is there any way to speed up the edit-compile-debug cycle in asp.net?

查看:124
本文介绍了有没有什么办法可以加快asp.net的编辑 - 编译 - 调试周期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在PHP编程了一段时间,最近我开始了新的工作前我在哪里,现在在C#/ asp.net编程。

I have been programming in php for a while, and recently I started a new job ago where I am now programming in c#/asp.net.

在部署时,ASP有不俗的表现,有一件事一直缠着我在过去的几个月。任何code修改后,它需要大约30秒的页面重新加载测试。

While asp has decent performance when deployed, there is one thing that has been bugging me for the past few months. After any code change it takes about 30 seconds for the page to reload for testing.

我想这是做JIT编译或东西。但它可以很无奈,尤其是当我集中注意力,并希望尽可能快地测试出几个增量变化,只有有一个空白页,凝视30秒。

I guess it is doing the JIT compiling or something. But it can be REALLY frustrating, especially if I am concentrating, and want to test out several incremental changes as quickly as possible, only to have to stare at a blank page for 30 seconds.

没有人有任何提示,以加速这一进程?

Does anyone have any tips to speed this process up?

推荐答案

在Visual Studio 2005中每次添加引用将 .REFRESH 文件,使确定的基准,因为最后一次,如果没有改变这样带来的新版本 - 如果你的引用保持不变,你可以将其删除结果!
又见<一个href=\"http://weblogs.asp.net/scottgu/Common-Gotcha_3A00_-Slow-VS-2005-Web-Site-Build-Performance-Because-of-_1C20_Dueling-Assembly-References_1D20_\"相对=nofollow>这里更多技巧VS 2005

In Visual studio 2005 every reference you add adds a .refresh file that makes sure the reference did not change since last time and if so brings the new version - if your references stay the same, you can just remove it!
also see here for more tips for VS 2005

这篇关于有没有什么办法可以加快asp.net的编辑 - 编译 - 调试周期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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