我可以在同一网站上运行ASP.NET 2.0和3.5代码吗? [英] Can I run ASP.NET 2.0 and 3.5 code on the same website?

查看:106
本文介绍了我可以在同一网站上运行ASP.NET 2.0和3.5代码吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在同一网站上运行ASP.NET 2.0和3.5代码吗?...或者,我是否需要按应用程序和/或服务器将它们分开?

Can I run ASP.NET 2.0 and 3.5 code on the same website? ...or, do I need to separate them by applications, and/or servers?

推荐答案

.NET 3.5是2.0,带有一些额外的库.因此,答案是肯定的,您可以在同一网站上运行它们.实际上,您甚至无法将Web应用程序设置为在3.5以下运行.它只是在2.0下运行.您可以在IIS站点的属性中检查"ASP.NET"选项卡,以查看甚至没有选项可以在3.5版以下运行您的应用程序.

.NET 3.5 is 2.0 with a few extra libraries. So the answer is yes you can run them on the same web site. In fact you cannot even set a web application to run under 3.5. It just runs under 2.0. You can check the ASP.NET tab in the properties of an IIS site to see that there isn't even an option to run your application under 3.5.

这篇关于我可以在同一网站上运行ASP.NET 2.0和3.5代码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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