Wednesday 11 March 2015

ASP.NET MVC VERSIONS AND DIFFRENCES Or Diffrence Between ASP.NET MVC2 and MVC3 and MVC4 and MVC5

Microsoft ASP.NET MVC VERSIONS AND DIFFRENCES

MVC Release History
The Current Version of ASP.NET MVC is 4 and it was released on 15th Aug 2012. ASP.NET MVC is packaged with Visual Studio 2012 and MVC can be installed for Visual Studio 2010. Below We have mentioned the release history of ASP.NET MVC.
Date
Version
10 Dec 07
ASP.NET MVC CTP
13 Mar 09 
ASP.NET MVC 1.0
16 Dec 09
ASP.NET MVC 2 RC
04 Feb 10
ASP.NET MVC 2 RC 2
10 Mar 10
ASP.NET MVC 2
06 Oct 10
ASP.NET MVC 3 Beta
09 Nov 10
ASP.NET MVC 3 RC
10 Dec 10
ASP.NET MVC 3 RC 2
13 Jan 11
ASP.NET MVC 3
20 Sep 11
ASP.NET MVC 4 Developer Preview
15 Feb 12
ASP.NET MVC 4 Beta
31 May 12
ASP.NET MVC 4 RC
15 Aug 12
ASP.NET MVC 4
30 May 13
ASP.NET MVC 4 4.0.30506.0 
26 Jun 13
ASP.NET MVC 5 Preview
23 Aug 13
ASP.NET MVC 5 RC 1
17 Oct 13
ASP.NET MVC 5
17 Jan 14
ASP.NET MVC 5.1
10 Feb 14
ASP.NET MVC 5.1.1
4 Apr 14
ASP.NET MVC 5.1.2
27 May 14
ASP.NET MVC 5.2.0 Rc
01 Jul 14
ASP.NET MVC 5.2.0
23 Aug 14
ASP.NET MVC 5.2.2-Rc
Date
Version 
10 Dec 07
ASP.NET MVC CTP
13 Mar 09 
ASP.NET MVC 1.0
16 Dec 09
ASP.NET MVC 2 RC
In this ASP.NET MVC tutorial, we will have a quick look into new and important features introduced in major versions of Microsoft ASP.NET MVC starting from MVC 3 to MVC 5 (the latest one so far).
ASP.NET MVC 2
§  MVC2 uses only Web Forms View Engine(.aspx) as a default View Engine.
§  Chart, WebGrid , Crypto, WebImage, WebMail Contolrs not available
§  (HTML syntax) Web Forms View Engine synatax : <%=Html code %>
§  It’s Support only Master Pages only not Layout Pages.
ASP.NET MVC 3
§  New Project Templates having support for HTML 5 and CSS 3.
§  Improved Model validation.
§  Razor View Engine introduced with a bundle of new features.
§  Having support for Multiple View Engines i.e. Web Forms view engine, Razor or open source.
§  Controller improvements like ViewBag property and ActionResults Types etc.
§  Unobtrusive JavaScript approach.
§  Improved Dependency Injection with new IDependencyResolver.
§  Partial page output caching.
ASP.NET MVC 4
§  ASP.NET Web API, a framework that simplifies the creation of HTTP services and serving a wide range of clients. Follow to create your first ASP.NET Web API service.
§  Adaptive rendering and other look-n-feel improvements to Default Project Templates.
§  A truly Empty Project Template.
§  Based on jQuery Mobile, new Mobile Project Template introduced.
§  Support for adding controller to other project folders also.
§  Task Support for Asynchronous Controllers and Asynchronous Methods.
§  Controlling Bundling and Minification through web.config.
§  Support for OAuth and OpenID logins using DotNetOpenAuth library.
§  Support for Windows Azure SDK 1.6 and new releases.
§  Refreshed and modernized default project template.
§  Recipes to customize code generation.
§  In Razor view engine new features added like Condition attribute and ‘Tlide slash’ i.e URL Resolution.
ASP.NET MVC 5
§  Creating your first ASP.NET MVC 5 Application in 4 simple steps
§  Bootstrap replaced the default MVC template.
§  ASP.NET Identity for authentication and identity management.
§  Authentication Filters for authenticating user by custom or third-party authentication provider.
§  With the help of Filter overrides, we can now override filters on a method or controller.
§  Attribute Routing is now integrated into MVC 5.
ASP.NET MVC6 | ASP.NET vNext
§  Single Programming Model for ASP.NET MVC and ASP.NET Web API.
§  Optimized for Cloud Computing.
§  Supporting side by side deployment of runtime and framework along with application.
§  Out of the box support for dependency injection.
§  vNext is Open Source and supports running on multiple platforms including Linux and Mac.
§  New JSON-based project Extension.
§  In order to dynamically compile code, Roslyn compiler is used.
§  MVC 6 added new cloud computing optimization system of MVC , web API, SignalR and entity framework.
§  The Microsoft  make a bundle of MVC, Web API, WebPages, SignalR , That bundle we called MVC 6.
§  In MVC 6, Microsoft removed the dependency of system.web.dll from MVC 6  because it's so expensive. Typically  it consume 30K memory per request/response.
§  Right now, in MVC 6 consume 2K  memory per request response. It's too small memory  consume.
§  Most of the problem solved using the Roslyn Compiler.
§  The ASP .Net  vNext used the Roslyn Compiler,  By using Roslyn compiler do not need to compile the application Its  compile automatically the application code.
§  The .Net vNext is a cross platform and open source.
§  The .Net vNext has the new project extension project.json. Basically project.json contain the all dependency dll of the application.
§  In MVC 5.1 and 5.2 support to Enum and EnumHelper in  razor views.

Hopefully, this article will help you in comparing core features of ASP.NET MVC in different versions.

No comments :