升级到ASP.NET 3.X升级到、ASP、NET

2023-09-07 03:36:03 作者:心已死,不再为你痛

我目前知道ASP.NET 2.0的外出活动,并有.NET框架。

的3.X版本

是否有可能我的ASP.NET Web服务器升级到.NET Framework的3.x版本?

我也不过试过这种,选择的.Net framwork的哪个版本的IIS(ASP.NET选项卡),只有1.1版本和2.0演出时使用。

有没有一种解决办法?

解决方案   

如果我安装3.5,并有IIS安装使用2.0。我将能够使用3.5功能?

是的,这是正确的。你必须的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.

使用ASP.NET Core 3.x 构建 RESTful API 1. 开始

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?

解决方案

if I install 3.5 and have IIS setup to use 2.0. I will be able to use 3.5 features?

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.