具有不同.net框架的虚拟目录 [英] virtual directories with different .net frameworks

查看:209
本文介绍了具有不同.net框架的虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在IIS中的同一网站下有两个虚拟目录,但虚拟目录是否使用不同版本的.net框架?

Is it possible to have two virtual directories under the same website in IIS but have the virtual directories be using different versions of the .net framework?

例如,在默认网站下,我可以有一个针对2.0框架的虚拟目录和一个针对1.1框架的第二个虚拟目录吗?

For example, under the default website, can I have one virtual directory targeting the 2.0 framework and a second virtual directory targeting the 1.1 framework?

这是针对IIS 6的,谢谢!

This is for IIS 6, thanks!

推荐答案

您并未说明您使用的是哪个版本的IIS,但对于6.0及更高版本,只需将它们分配给不同的应用程序池,设置池使用正确版本的.Net。

You are not saying which version of IIS you are using, but for 6.0 and up, just assign them to different application pools, and set the pools to use the right version of .Net.

这篇关于具有不同.net框架的虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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