The difference between each version of MVC 2, 3 , 4, 5 and 6 is as follows:
MVC 6
- ASP.NET MVC and Web API has been converged in to one.
- Reliance infusion is inbuilt and part of MVC.
- Next to each other – convey the runtime and structure with your application
- Everything is bundled with NuGet, Including the .NET runtime itself.
- New JSON based venture structure.
- No compelling reason to recompile for each change. Simply hit space and revive the program.
- Accumulation finished with the new Roslyn ongoing compiler.
- vNext is Open Source by means of the .NET Foundation and is taking open commitments.
- vNext (and Rosyln) additionally keeps running on Mono, on both Mac and Linux today.
MVC 5
- One ASP.NET
- Trait based directing
- Asp.Net Identity
- Bootstrap in the MVC layout
- Confirmation Filters
- Channel supersedes
MVC 4
- ASP.NET Web API
- Revived and modernized default venture formats
- New versatile venture format
- Numerous new highlights to help portable applications
- Upgraded bolster for nonconcurrent techniques
MVC 3
- Razor
- Readymade venture formats
- HTML 5 empowered formats
- Support for Multiple View Engines
- JavaScript and Ajax
- Demonstrate Validation Improvements
MVC 2
- Customer Side Validation
- Templated Helpers
- Regions
- Nonconcurrent Controllers
- Html.ValidationSummary Helper Method
- DefaultValueAttribute in real life Method Parameters
- Restricting Binary Data with Model Binders
- DataAnnotations Attributes
- Demonstrate Validator Providers
- New RequireHttpsAttribute Action Filter
- Templated Helpers
- Show Model-Level Errors