与 IIS6 相比,ASP.NET MVC 在 IIS7 下的性能更好吗?
我现在正在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
.NET 应用程序(无论是 ASP.NET(MVC 或其他)、WCF 等)应该在 IIS7 上运行得更好,因为 IIS7 是在构建时考虑到 .NET 的。
请参阅ASP.NET 与 IIS 7.0 集成 :
.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:
我没有对两者的性能进行基准测试,但我的经验表明,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.
我刚刚发现这个 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.