History of Mvc Versions & Features
MVC Version | Features | .Net version | Release Date | VS Version |
---|---|---|---|---|
ASP.NET MVC 1 | 1) Web form Engine and Routing 2) HTML Helpers Ajax Helpers Auto binding | .NET Framework 3.5 | 13-Mar-09 | VS 2008 and Sp1 |
ASP.NET MVC2 | 1)MVC 2 Introduced Strongly-Typed Helpers 2)Support for Asynchronous Controllers Support for DefaultValueAttribute in Action-Method Parameters Support for DataAnnotations Attributes Areas & Templated Helpers New RequireHttpsAttribute Action Filter Overriding the HTTP Method Verb | .NET Framework 3.5,4.0 | 10-Mar-10 | VS2008 and 2010 |
ASP.NET MVC3 | 1)Templates for HTML 5 and Css3 2)Model validation 3)Introduced Razor View Engine Support for multiple view 4)Unobtrusive Js approach 5)partial page caching/td> | .NET Framework 4.0 | 13-Jan-11 | VS 2010 |
ASP.NET MVC 4 | .NET Framework 4.0 4.5 | 15-Aug-12 | VS 2010 SP 1 and VS 2012 | |
ASP.NET MVC 5 | ASP.NET Identity,ASP.NET Scaffolding, Authentication filters,Filter overrides Bootstrap Support MVC5 Template By Default Oauth Support for Social Networking Introduced WebAPI 2 | .NET Framework 4.5, 4.5.1 | 17-Oct-13 | VS 2013 |
ASP.NET MVC 6 |
| .Net framework 4.6.1 | 12 May 2014, | Vs 2015 |
various version of Mvc History |
Demo by George Martsoukos. See article.
Difference Between Mvc 2 Vs Mvc 3 Vs Mvc4
MVC 2 | MVC 3 | MVC 4 |
---|---|---|
MVC 2 uses Web Forms view engine (.aspx). (HTML Syntax) Web Forms view engine syntax: <%=Html code %> in MVC2. | MVC 3 uses Razor View Engine (Razor Syntax) Razor View Engine syntax: @Html code in MVC3. | MVC4 also uses Razor View Engine as a default view engine |
TempData, ViewData are available in MVC2. | TempData, ViewData ,ViewBag are available in MVC3. | TempData, ViewData ,ViewBag are available in MVC3. |
Jquery support is Good in MVC2. | Jquery support is Better in MVC3. | MVC4 provides better support for Jquery like Jquery Mobile. |
Supports only Master Page in MVC2. | Supports not only Master Page but also Layout Page in MVC 3 and in MVC4 | |
Client-side Validation and Asynchronous controllers is there in MVC2. | Unobtrusive Ajax and Client side Validation, Jquery Validation and JSON binding support is in MVC3. | Client side validation, Jquery validation and enhanced support for asynchronous methods in MVC4. Ajax,Validation improvements. |
Mobile Application Development, Display Modes Task support for Asynchronous Controllers Bundling and minification Features Support for the Windows Azure SDK Authentication :Form Authentication, OpenID/OAuth, Windows Authentication Routing Features. Introduced Web API in Mvc 4 |
Differences Between Mvc 5 and Mvc 6
Mvc 5 and Mvc 6 is for Next generation web development.In Mvc 5,introduced lots of features and Mvc 6 completely for cloud based next genration app and it eliminates all the existing Mvc frameworks drawbacks and come with a new way of web. Here are the List of Differences.
MVC 5 | MVC 6 |
---|---|
|
|
TempData, ViewData are available in MVC2. | TempData, ViewData ,ViewBag are available in MVC3. |
Jquery support is Good in MVC2. | Jquery support is Better in MVC3. |
Supports only Master Page in MVC2. | Supports not only Master Page but also Layout Page in MVC 3 and in MVC4 |
Client-side Validation and Asynchronous controllers is there in MVC2. | Unobtrusive Ajax and Client side Validation, Jquery Validation and JSON binding support is in MVC3. |
Comments
Post a Comment