Tuesday, 27 May 2014

MVC Version Differences

Additional features are available in MVC 5 which is given below
1)    New Authentication system in MVC 5. i.e. Asp.Net Identity.
2)    Bootstrap in the MVC 5 templates.
3)    New feature to create an ASP.NET MVC 5 App with Facebook Sign-on in (C#).
4)    New feature to create an ASP.NET MVC 5 App with Google OAuth2 and OpenID Sign-on in (C#).
5)    New feature to Configure Authentication, when click Configure Authentication link at the time when we open new project.
6)    Authentication Filters for authenticating user by custom or third-party authentication provider.
7)    With the help of Filter overrides, we can now override filters on a method or controller.
8)    Attribute Routing is now integrated into MVC 5.

Now, In MVC 5
1)    Empty Template
2)    Internet Application Template
3)    Intranet Application Template
4)    ASP.NET Web API Template
5)    Mobile Project Template
6)    Single Page Application Template
7)    Asp.Net Identity
8)    Bootstrap in the MVC 5 templates
9)    Authentication Filters
10) Filter overrides

ASP.NET MVC 4
1)    ASP.NET Web API, a framework that simplifies the creation of HTTP services and serving a wide range of clients.
2)    Adaptive rendering and other look-n-feel improvements to Default Project Templates.
3)    A truly Empty Project Template.
4)    Based on jQuery Mobile, new Mobile Project Template introduced.
5)    Support for adding controller to other project folders also.
6)    Task Support for Asynchronous Controllers.
7)    Controlling Bundling and Minification through web.config.
8)    Support for OAuth and OpenID logins using DotNetOpenAuth library.
9)    Support for Windows Azure SDK 1.6 and new releases.

ASP.NET MVC 3
1)    New Project Templates having support for HTML 5 and CSS 3.
2)    Improved Model validation.
3)    Razor View Engine introduced with a bundle of new features.
4)    Having support for Multiple View Engines i.e. Web Forms view engine, Razor or open source.
5)    Controller improvements like ViewBag property and ActionResults Types etc.
6)    Unobtrusive JavaScript approach.
7)    Improved Dependency Injection with new IDependencyResolver.
8)    Partial page output caching.

2 comments: