2

I would Like to know the Issues attached to the concurrent running of the .NET 4.5 and 3.5 Legacy framework running together concurrently.

Currently our team had to "Force" install the 3.5 .Net Framework as 4.5 Did not "Fully accommodate" our needs. The 2 Run perfectly together. How ever i want to play it safe so... I have searched for many sources and obtained only advantages and reasons for wanting to run them together. I have found Beautiful tutorials which worked nicely to do so as well... Refer to here :

http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45#TOC301258515

Please Provide the following:

  1. Issues i may run into with both running at the same time
  2. Possible workarounds or methods of preventing the issue
4

2 回答 2

1

您可以安全地在同一台服务器上运行 3.5 和 4.5,因为它们具有不同的 CLR(运行时)。3.5 使用 2.0 运行时,4.5 使用 4.0 运行时。

但是,4.5 会覆盖 4.0(据说只是错误修复,但您可能仍会遇到问题)。

4.5.1 会覆盖 4.5,因此请确保您在开发机器和服务器上安装了相同的版本。

正如您提到的文章中所述,每个应用程序池都使用不同的运行时。使用适当的应用程序池配置每个网站。

于 2013-09-30T20:11:42.407 回答
1

在 IIS 中,您在进程之间有 100% 的隔离,因此您在任何并发问题上都是绝对安全的。

您需要做的就是确保开发人员没有使用比您服务器上的版本更新的 .NET 版本(例如,开发人员使用 4.5 而您正在运行 3.5)。

对于 IIS 中的每个网站和应用程序,您可以设置不同的应用程序池,并且可以将每个应用程序池设置为使用不同版本的 .NET 框架。

于 2013-10-01T09:12:17.687 回答