Webhost 声称支持 ASP.NET MVC,但运行 .NET 2.0.50727.4200?
System.Environment.Version 返回 2.0.50727.4200 的服务器是否支持 ASP.NET 3.5?
网络主机声称我应该忽略控制面板中的详细信息,但在检查上述系统变量时我得到2.0.50727.4200
。
Is a server which returns 2.0.50727.4200 for System.Environment.Version going to support ASP.NET 3.5?
The webhost claims I should ignore the details in the control panel but I get 2.0.50727.4200
when checking the aforementioned system variable.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这篇文章应该让事情变得更清楚: http://www.west-wind.com /Weblog/posts/289139.aspx
简而言之,仅仅因为它说它是版本 2.0,并不意味着它实际上没有运行 3.5。 v3.0和v3.5本质上是v2.0的更新
This article should make things clearer: http://www.west-wind.com/Weblog/posts/289139.aspx
In short, just because it says it's version 2.0, doesn't mean it isn't actually running 3.5. v3.0 and v3.5 are essentially updates to v2.0
3.5 的 CLR 仍然是 2.0,所以不,你不会被搞砸,会没事的。
.NET 4.0 将具有 4.0 CLR,因此当您得到 .NET 4.0 承诺时,您可以寻找高于 2.0 的数字。
The CLR for 3.5 is still 2.0, so no, you're not being screwed, it will be fine.
.NET 4.0 will have a 4.0 CLR, so when you're promised .NET 4.0, you can look for a number higher than 2.0.
ASP.NET 3.5的运行时仍然是2.0,
当.NET 4发布时它将升级到4.0。
不要问我为什么,但 ASP.NET MVC 可以工作。
The runtime for ASP.NET 3.5 is still 2.0
It will be upgraded to 4.0 when .NET 4 is released.
Don't ask my why that is, but ASP.NET MVC will work.
asp.net 是版本 2。...
3.+ 中的 MVC 内容只是扩展了 v2 的基础。...所以这是预期的结果。由于asp.net的核心仍然是2.*...你将能够运行mvc
asp.net is version 2....
the MVC stuff in 3.+ just extends the base of v2....so that is an expected result. as the core of asp.net is still at 2.*... you will be able to run mvc