ASP.NET 2.0 还是 3.5?

发布于 2024-08-11 05:22:33 字数 244 浏览 4 评论 0原文

曾经有一段时间,我认为当前的非测试版 ASP.NET 声明了当前 .NET CLR (2.0) 的版本号,尽管 .NET Framework 的版本是 3.5。每当我看到“ASP.NET 3.5”,我就觉得谁写的不对。

然而,我开始觉得错了。官方 ASP.NET 版本号是否已从 2.0 更改为 3.5(在 .NET Framework 版本为 3.5 期间),还是官方一直是“ASP.NET 3.5”(我一直是个白痴)?

There was a time that I thought the current non-beta ASP.NET claimed the version number of the current .NET CLR (2.0), even though the .NET Framework was version 3.5. Whenever I saw "ASP.NET 3.5", I felt that whomever had written it was incorrect.

However, I'm starting to feel that I'm incorrect. Has the official ASP.NET version number changed from 2.0 to 3.5 (during the time that the .NET Framework version has been 3.5), or has it always officially been "ASP.NET 3.5" (and I've been an idiot)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

年华零落成诗 2024-08-18 05:22:33

就CLR而言,只有2.0;就库而言,.net Framework 版本 2.0、3.0、3.5 和 3.5 SP1 中的 ASP.NET 有明确的更改(请参阅 MSDN,例如)。

由于有功能更改,我将其称为“ASP.NET 3.5”。

然而,更糟糕的是, drop- IIS 中的下拉框,您可以在其中选择“1.1...”或“2.0...”,称为“ASP.NET 版本”。当然,这里的IIS指的是CLR版本。

我一直无法找到对此的“官方”声明(尽管我没有仔细寻找)。微软似乎在回避这个问题。在上面的 MSDN 链接中,他们写了“.net Framework 3.5 SP1 中的 ASP.NET 增强功能”。

所以,严格来说,我猜 ASP.NET 没有版本号,就像 WinForms 没有版本号或 System.String 没有版本号一样。 “ASP.NET 3.5”只是 .net Framework 3.5 库的 ASP.NET 部分的非正式缩写。

In terms of the CLR, there is only 2.0; in terms of the libraries, there are definite changes in ASP.NET in the .net Framework versions 2.0, 3.0, 3.5 and 3.5 SP1 (see MSDN, for example).

Since there are feature changes, I would call it "ASP.NET 3.5".

However, to make things worse, the drop-down box in IIS where you can select either "1.1..." or "2.0...." is called "ASP.NET version". Of course, IIS is referring to the CLR version here.

I've been unable to find an "official" statement on this (I haven't looked hard, though). Microsoft seems to avoid this problem. In the above MSDN link, they write about "ASP.NET Enhancements in .net Framework 3.5 SP1".

So, strictly speaking, I guess ASP.NET does not have a version number, just like WinForms does not have a version number or System.String does not have a version number. "ASP.NET 3.5" is just an informal abbreviation for the ASP.NET part of the .net Framework 3.5 libraries.

梦旅人picnic 2024-08-18 05:22:33

是的,ASP.NET 2.0 和 ASP.NET 3.5 是不同的。 3.5 是最新的非测试版。 2.0和3.5都使用2.0运行环境。

Yes, ASP.NET 2.0 and ASP.NET 3.5 are different. 3.5 is the most current non-beta release. Both 2.0 and 3.5 use the 2.0 runtime environment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文