我可以在 IIS6 上部署 .net 4.0 Web 应用程序吗?

发布于 2024-09-06 22:32:12 字数 220 浏览 4 评论 0原文

我最近将 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?

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

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

发布评论

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

评论(4

醉态萌生 2024-09-13 22:32:12

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

我从 3.5 移动到 4.0 的唯一问题已在以下问题上得到解答: Default.aspx 与 IIS 6.0 和 .Net 4?

也是这一点

<httpRuntime requestValidationMode="2.0" />

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

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

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

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

and was also this point

<httpRuntime requestValidationMode="2.0" />

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

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

燕归巢 2024-09-13 22:32:12

IIS6 确实支持 ASP.NET 4.0,但如果您想使用 URL 路由,则需要进行一些调整。

此页面有一些关于此的详细信息:
http://blog .stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/

IIS6 does support ASP.NET 4.0, though if you want to use URL routing you'll need to make some tweaks.

This page has some details on this:
http://blog.stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/

╰ゝ天使的微笑 2024-09-13 22:32:12

是的,您可以在 IIS6 上部署 .net 4.0 应用程序,前提是您不应使用 IIS6 不支持的任何 .net 4.0 功能。我们已经在 IIS6 上部署了 .net 4.0 应用程序,并且运行良好。

Yes, you can deploy .net 4.0 app on IIS6 provided you should not use any .net 4.0 feature which is not supported by IIS6. We have deployed .net 4.0 app on IIS6 and it works fine.

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