ASP.net网页加载速度太慢 [英] ASP.net web page getting too slow to load

查看:94
本文介绍了ASP.net网页加载速度太慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



正在开发一个asp.net c#项目。



调试时,需要很长时间才能加载(差不多半个小时),

我怎么能加速,问题是什么。

Hi,
am developing a project in asp.net c#.

while debugging ,it's taking so long time to load (nearly half an hour),
how can i speed up, what's the problem.

推荐答案

您可能需要删除所有断点 - - 注意您需要单击删除所有断点按钮(或使用Ctrl-Shft-F9),而不是逐个删除它们。如果Visual Studio损坏了您的解决方案设置,后者将无效。您可能需要先添加断点才能使其正常工作。

试一试,这可能有所帮助。
You may need to delete all your breakpoints---note that you need to click the "delete all breakpoints" button (or use Ctrl-Shft-F9), NOT just delete them one by one. If Visual Studio has mangled your solution settings the latter will not work. You may need to add a breakpoint first, in order for this to work.
Give it a try ,this may help.


可能有几个问题:



1.您已打开多个visual studio实例。

2.每个项目第一次运行需要时间,因为所有dll文件都转到临时文件夹。

3.您使用来自数据库和数据库连接的动态数据需要花费太多时间来连接。

4.它可以运行多个工作进程线程来运行项目。

5.清理解决方案并重建应用程序然后运行。

6.这可能取决于机器处理器和配置。
There are can be several issues:

1. You have opened multiple visual studio instance.
2. Each project first time run takes time because all dll files go to Temp folder.
3. You are using dynamic data from database and database connection taking too much time to connect.
4. It can run multiple work process thread to run a project.
5. Clean the solution and rebuild application then run.
6. It can be depends on machine processor and configuration.


这篇关于ASP.net网页加载速度太慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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