开发者

run asp.net 3.5 sites on asp.net 4.0 without changing code\web.config

开发者 https://www.devze.com 2023-01-29 02:55 出处:网络
Is it possible开发者_StackOverflow中文版?Yes, if you have .NET 3.5 installed. Otherwise you will have to upgrade since .NET 4.0 has its own CLR.

Is it possible开发者_StackOverflow中文版?


Yes, if you have .NET 3.5 installed. Otherwise you will have to upgrade since .NET 4.0 has its own CLR.

See ASP.NET Side-by-Side Execution Overview : http://msdn.microsoft.com/en-us/library/a99txfy5.aspx


There are subtle breaking-changes, many of which are for he better IMHO.

You'll need to set up seperate application pools targetting the appropriate framework and placing your 3.5/4.0 sites in the right pool.


Yes. Both options are available in VS 2010. Just take care of functionality like ajax. It may stop you running old apps in new C #.

0

精彩评论

暂无评论...
验证码 换一张
取 消