与 IIS6 相比,ASP.NET MVC 在 IIS7 下的性能更好吗?

发布于 2024-08-13 10:13:04 字数 249 浏览 2 评论 0原文

我现在正在 IIS6 主机上运行我的 ASP.NET MVC 应用程序,他们不愿意升级我的服务器,也不愿意将我的网站移动到 IIS7 服务器 - 除非我购买一个新帐户来转移到。

在 IIS6 下,我知道会发生很多通配符映射,以使 .net 框架处理每种类型的传入连接。我假设这会产生相当多的开销...

ASP.NET MVC 在 IIS7 下性能更好吗?我认为这对我的网站来说还不是非常重要,但随着它的发展,我需要考虑这一点。

谢谢!

I'm running my ASP.NET MVC app on an IIS6 host right now, and they're not willing to upgrade my server, nor move my site to an IIS7 server - unless I purchase a new account to transfer to.

Under IIS6 I understand there are a lot of wildcard mappings happening to get the .net framework to process the incoming connections for each type. I'm assuming this incurs quite a bit of overhead...

Does ASP.NET MVC perform better under IIS7? I don't think it's super important for my site just yet, but as it grows I'll need to consider this.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

枕头说它不想醒 2024-08-20 10:13:04

.NET 应用程序(无论是 ASP.NET(MVC 或其他)、WCF 等)应该在 IIS7 上运行得更好,因为 IIS7 是在构建时考虑到 .NET 的。

请参阅ASP.NET 与 IIS 7.0 集成 :

IIS 7.0 进一步推进 ASP.NET
集成 ASP.NET 运行时
具有核心的可扩展性模型
服务器。这使得开发人员能够
完全扩展 IIS 7.0 服务器
ASP.NET 2.0 的丰富性和
.NET Framework,而不是使用
较低级别的 IIS C++ API。现存的
ASP.NET应用程序也立即
受益于更紧密的集成
现有的 ASP.NET 功能,例如表单
身份验证、角色和输出
缓存所有内容。

.NET applications (whether ASP.NET (MVC or otherwise), WCF, etc.) should run better on IIS7 because IIS7 was built with .NET in mind.

Please see ASP.NET Integration With IIS 7.0:

IIS 7.0 takes ASP.NET further by
integrating the ASP.NET runtime
extensibility model with the core
server. This allows developers to
fully extend the IIS 7.0 server with
the richness of ASP.NET 2.0 and the
.NET Framework, instead of using the
lower level IIS C++ APIs. Existing
ASP.NET applications also immediately
benefit from tighter integration using
existing ASP.NET features like Forms
Authentication, Roles, and Output
Caching for all content.

空心↖ 2024-08-20 10:13:04

我没有对两者的性能进行基准测试,但我的经验表明,Asp.net MVC 在 IIS7 上比在 IIS6 上更容易配置,尤其是当您使用共享主机时。 url 映射和其他东西在 IIS7 上运行得最好,没有任何抱怨。

I have not benchmarked the performance in the two but my experience says that Asp.net MVC is easier to configure on IIS7 than on IIS6 especially when you are on a shared hosting. The url mapping and stuff works best without complain on IIS7.

两人的回忆 2024-08-20 10:13:04

我刚刚发现这个 http://forums.iis.net/t/1150694.aspx#1875128
说IIS6更快。

现在任何具有 .NET 4 MVC 的系统都可以自动配置以正常工作。

I just found this http://forums.iis.net/t/1150694.aspx#1875128
saying that IIS6 is faster.

Any now with .NET 4 MVC can be auto configured to just work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文