我可以在 IIS6 上部署 .net 4.0 Web 应用程序吗? [英] Can I deploy .net 4.0 web application on IIS6?

查看:28
本文介绍了我可以在 IIS6 上部署 .net 4.0 Web 应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将 VS 2008 升级到了 VS 2010.在我们的服务器上我们安装了 IIS6,在不久的将来我们无法更改它.即使我们将开发新的应用程序部署在 IIS7 上,但如果情况需要我们可能需要使用 .net 4.0 开发应用程序并部署在 IIS6 上,那么在这种情况下,我想知道 IIS6 是否支持 .net 4.0 应用程序或不是吗?

I've recently upgraded VS 2008 to VS 2010. On our server we have IIS6 installed and we can not change that in near future. Even though we will develop new applications to be deployed on IIS7 but if situation demands we may need to develop an application using .net 4.0 and to be deployed on IIS6, then in this case I wanted to know whether IIS6 supports .net 4.0 application or not?

如果我可以部署,那么在部署之前我是否需要注意我应该更改的任何配置或任何其他设置?

If I can deploy, then do I need to take care of any configuration or any other setting I should change before deploying it?

推荐答案

我非常复杂的网站现在都在运行 asp.net 4.0 的 iis6 上

My very complicate sites now are on iis6 running asp.net 4.0

我从 3.5 移动到 4.0 的唯一问题在这个问题上得到了回答:带有 IIS 6.0 和 .Net 4 的 Default.aspx?

My only issue moving from 3.5 to 4.0 was answered on this question: Default.aspx with IIS 6.0 and .Net 4?

也是这一点

<httpRuntime requestValidationMode="2.0" />

您可以查看所有这些移动到 4.0 的重大更改列表

You can check all this list of breaking change moving to 4.0

http://www.asp.net/learn/whitepapers/aspnet4/break-changes

这篇关于我可以在 IIS6 上部署 .net 4.0 Web 应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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