非常缓慢的加载时间与Visual Studio和ASP.NET MVC? [英] Very slow loading time with Visual Studio and ASP.NET MVC?

查看:264
本文介绍了非常缓慢的加载时间与Visual Studio和ASP.NET MVC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我开发一个ASP.NET MVC的网站与Visual Studio 2010年该网站建立并从本地计算机的本地内置ASP.NET开发服务器,数据库somwhere位于净投放。

I'm developing an ASP.NET MVC website with Visual Studio 2010. The site is built and running from the local computer with the local built-in ASP.NET Development Server, the database is located somwhere on the net.

问题是,这是很慢的加载或重新加载页面,就这一sceen一看:

The problem is that it is very slow to load or reload the page, take a look on this sceen :


链接到图片

任何想法,这是为什么慢?

Any idea why this is that slow?

BestRegards

BestRegards

编辑:我发现了,这不只是发生,我的Firefox,IE会返回页面快得多

Edit : I have found out that this do only happen i Firefox, IE will return the page ALOT faster?

推荐答案

http://$c$cwut.de/content/local-iis-dev-server-firefox-slow-request-response-times

如果您遇到同样的问题,在Firefox中禁用IPv6支持:
  关于:配置 - > network.dns.disableIPv6 - >真
  显然,Firefox和Microsoft Internet信息服务器不喜欢很好地一起玩在Vista上无需人工干预。

If you run into the same issue, disable IPv6 support in Firefox: about:config -> network.dns.disableIPv6 -> true Apparently Firefox and Microsoft Internet Information Server do not like to play together nicely on Vista without human intervention.

更多详细资料(和链接底部):
<一href=\"http://weblogs.asp.net/bleroy/archive/2008/12/29/why-are-scripts-slow-to-load-in-firefox-when-using-visual-studio-s-built-in-development-web-server-a-k-a-cassini.aspx\" rel=\"nofollow\">http://weblogs.asp.net/bleroy/archive/2008/12/29/why-are-scripts-slow-to-load-in-firefox-when-using-visual-studio-s-built-in-development-web-server-a-k-a-cassini.aspx

More details (and links at bottom): http://weblogs.asp.net/bleroy/archive/2008/12/29/why-are-scripts-slow-to-load-in-firefox-when-using-visual-studio-s-built-in-development-web-server-a-k-a-cassini.aspx

试试这个,让我/我们知道,如果它帮助!我听说了很多关于这个问题。

Give this a try, let me/us know if it helps! I've heard a lot about this issue.

这篇关于非常缓慢的加载时间与Visual Studio和ASP.NET MVC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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