简体   繁体   English

ASP.NET MVC2取决于.NET Framework的哪个版本?

[英]ASP.NET MVC2 depends on which version of the .NET Framework?

ASP.NET MVC2取决于.NET Framework的哪个版本?

You can target your MVC 2 project to .NET 3.5 SP1 or superior. 您可以将MVC 2项目定位到.NET 3.5 SP1或更高版本。 However using .NET 4.0 grants you some functionality, for example you can write <%: someString %> instead of <%= Html.Encode(someString) %> . 但是,使用.NET 4.0会授予您一些功能,例如,您可以编写<%: someString %>而不是<%= Html.Encode(someString) %>

For completeness sake: 为了完整起见:

MVC 1: MVC 1:

System Requirements Supported Operating Systems: Windows Server 2003; 系统要求支持的操作系统:Windows Server 2003; Windows Server 2003 Windows Server 2008; Windows Server 2008; Windows Vista; Windows Vista; Windows XP .NET 3.5 SP1. Windows XP .NET 3.5 SP1。 Visual Studio 2008, Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 are required to use certain parts of this feature. 若要使用此功能的某些部分,需要Visual Studio 2008,Visual Studio 2008 SP1或Visual Web Developer 2008 SP1。

MVC 2 RTM: MVC 2 RTM:

System Requirements Supported Operating Systems: Windows 7; 系统要求支持的操作系统:Windows 7; Windows Server 2003; Windows Server 2003; Windows Server 2008; Windows Server 2008; Windows Vista; Windows Vista; Windows XP .NET 3.5 SP1. Windows XP .NET 3.5 SP1。 Visual Studio 2008, Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 are required to use certain parts of this feature. 若要使用此功能的某些部分,需要Visual Studio 2008,Visual Studio 2008 SP1或Visual Web Developer 2008 SP1。

MVC 3 Preview 1: MVC 3预览1:

Supported Operating Systems: Windows 7; 支持的操作系统:Windows 7; Windows Server 2003; Windows Server 2003; Windows Server 2008; Windows Server 2008; Windows Vista .NET 4, ASP.NET 4, Visual Studio 2010 or Visual Web Developer 2010 are required to use certain parts of this feature. 若要使用此功能的某些部分,需要Windows Vista .NET 4,ASP.NET 4,Visual Studio 2010或Visual Web Developer 2010。

Jader, as far as i'm aware, v3.5. 据我所知,Jader v3.5。

jim 吉姆

ASP.NET MVC 2的最终版本适用于ASP.NET 3.5

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM