在计算机上运行.net的许多版本 [英] Running many versions of .net on a machine

查看:114
本文介绍了在计算机上运行.net的许多版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对各种版本的.net感到好奇。我们有一个环境,我们已经开发了各种版本的应用程序(1.1和2.0)。现在,我正试图在3.5中开发继续。最大的问题是这些版本是否能够在同一个IIS安装上很好地协同工作。另一个需要注意的是,我正在使用Visual Studio 2005和IIS 5.0在Windows XP上进行开发。应用程序将在Windows Server 2003上运行并使用IIS 6.0。从我所看到的,看起来每个IIS虚拟目录都可以设置自己特定的.net版本。使用各种.Net版本的各种应用程序不会相互影响,这应该不够吗?

I'm curious about the various versions of .net. We have an environment where we've developed applications in various versions (1.1 and 2.0). Now, I'm trying to get the 'go ahead' for developing in 3.5. The biggest issue is whether or not these versions will play nicely together on the same installation of IIS. Another caveat is that I'm developing on Windows XP with Visual Studio 2005 and IIS 5.0. The applications will be running on windows server 2003 and using IIS 6.0. From what I have seen, it looks like each IIS virtual directory can set its own specific version of .net. Shouldn't this be enough that the varied applications using the varied .Net versions not affect one another?

我会得到任何我能得到的答案,但它会是如果你可以直接从微软的一些文档中引用你的答案,那将是非常有用的(我的公司非常注意'直接从小时口听到'可以这么说)。那就是说,我真的会在这里得到任何答案。沟渠中的故事也是受欢迎的。

I'll take any answers I can get, but it would be supremely helpful if you could reference your answer with some documentation straight from Microsoft (my company plays big attention to 'hearing it directly from the hourses mouth' so to speak). That said, I really will take any answers here. Stories from the ditches are welcome too.

谢谢!

推荐答案

您将在托管v.1.1和v.2.0及更高版本的应用程序中遇到的最大问题是,您将需要两个应用程序池。

The largest issue you will run into with hosting v.1.1 and v.2.0 and higher apps is that you will need two application pools.

一个用于v.1.1 Web网站,以及v.2.0及更高版本网站的另一个网站。

One for the v.1.1 Web Sites, and another for the v.2.0 and higher sites.

根据您的了解,.Net 3.0和3.5都是.Net 2.0的超集,基本上是附加组件到运行时。虽然主机仍然需要安装它们。对于所有.Net 2.0及更高版本的Web应用程序,只需在主机服务器上安装最新的.Net 3.5 SP1运行时。

For your own knowledge, .Net 3.0 and 3.5 are both supersets of .Net 2.0, basically add-ons to the Runtime. Although the host machine is still required to have them installed. For all .Net 2.0 and higher web apps, simply install the latest .Net 3.5 SP1 runtime on the host server.

使用IIS 6.0及更高版本,您可以访问应用程序池,IIS 5.0不公开此。

With IIS 6.0 and higher you get access to the Application Pools, IIS 5.0 does not expose this.

我建议将您的开发环境切换到Win 2k3或Vista(IIS 7.0)。

I would recommend switching your dev environment to Win 2k3 or Vista (IIS 7.0).

这篇关于在计算机上运行.net的许多版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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