Can I deploy .net 4.0 web application on IIS6?

2019-01-19 01:38发布

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?

4条回答
啃猪蹄的小仙女
2楼-- · 2019-01-19 02:22

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

查看更多
Summer. ? 凉城
3楼-- · 2019-01-19 02:25

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/

查看更多
女痞
4楼-- · 2019-01-19 02:30
smile是对你的礼貌
5楼-- · 2019-01-19 02:30

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.

查看更多
登录 后发表回答