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

查看:18
本文介绍了具有不同 .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天全站免登陆