微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

asp.net-mvc – 使用Visual Studio和ASP.NET MVC加载时间非常慢?

我正在使用Visual Studio 2010开发一个ASP.NET MVC网站.该站点是使用本地内置的ASP.NET开发服务器从本地计算机构建和运行的,该数据库位于网络上.

问题是加载或重新加载页面非常慢,看看这个场景:

Link to image

知道为什么这么慢吗?

最好的祝福

编辑:我发现这只会发生我的Firefox,IE会更快地返回页面ALOT吗?

解决方法

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

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.

更多细节(以及底部链接):
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

尝试一下,让我/我们知道它是否有帮助!我听说过很多这个问题.

原文地址:https://www.jb51.cc/aspnet/251369.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐