问题描述
我目前知道ASP.NET 2.0的外出活动,并有.NET框架。
的3.X版本是否有可能我的ASP.NET Web服务器升级到.NET Framework的3.x版本?
我也不过试过这种,选择的.Net framwork的哪个版本的IIS(ASP.NET选项卡),只有1.1版本和2.0演出时使用。
有没有一种解决办法?
是的,这是正确的。你必须的IIS设定为2.0为2.0和3.5点,因为它们都在相同的CLR运行。 3.5采用2.0不同的编译方法。这是在web.config的网站声明。请参见这个职位了解更多这方面的细节。但是,在IIS中设置为3.5和2.0 ASP.net网站是一样的。
I am currently aware that ASP.NET 2.0 is out and about and that there are 3.x versions of the .Net Framework.
Is it possible to upgrade my ASP.NET web server to version 3.x of the .Net Framework?
I have tried this, however, when selecting which version of the .Net framwork to use in IIS (the ASP.NET Tab), only version 1.1 and 2.0 show.
Is there a work around?
Yes, that is correct. You have IIS set to 2.0 for both 2.0 and 3.5 sites, as they both run on the same CLR. 3.5 uses a different compile method than 2.0. This is declared in the web.config for the site. See this post for more details on this. But the setup in IIS for both 3.5 and 2.0 ASP.net sites is identical.
这篇关于升级到ASP.NET 3.X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!