What is difference between MVC1,MVC2,MVC3,MVC4,MVC5 and MVC6? (MVC Interview Questions)
Introduction:
Microsoft had introduced ASP.NET MVC in .Net 3.5, since then lots of new features have been added.This article introduces to Features for MVC newest and oldest versions and also will we have many differences between MVC1, MVC 2, MVC 3, MVC 4, MVC 5 and MVC 6 and let’s explore in detail without writing the code.
MVC 1:
- MVC architecture with webform engine
- Ajax Helpers
- HTML Helpers
- Routing
- Auto binding
MVC 2:
- Client-Side Validation
- Asynchronous Controllers
- Areas/Regions
- Scaffolding
- DataAnnotations attributes
- Model-Validator Providers
- Custom template
- Html helper methods with lambda expression
- Html.ValidationSummary Helper Method
- Binding Binary Data with Model Binder
MVC 3:
- Razor view engine
- HTML 5 enabled templates
- Global filters
- Unobtrusive javascript validation
- Remote validation
- Dependency resolver for IoC
- ViewBag
- Support for Multiple View Engines
- Model Validation Improvements
MVC 4:
- Mobile project template
- Bundling and minification
- ASP.NET Web API
- Support for Windows Azure SDK
MVC 5:
- Attribute based routing
- Authentication filters
- Asp.Net Identity
- Bootstrap support
- Filter overrides
MVC 6:
- ASP.NET MVC and Web API has been merged in to one
- New JSON based project structure
- Dependency injection is inbuilt and part of MVC
- No need to recompile for every change. Just hit save and refresh the browser.
- Compilation done with the new Roslyn real-time compiler
- Side by side – deploy the runtime and framework with your application
- Everything packaged with NuGet, Including the .NET runtime itself.
SEE MORE
- Auto Refresh Partial View in ASP.NET MVC
- What is ASP.NET Core
- Difference between TempData keep() And Peek() in Asp.Net MVC
- Difference between viewbag,viewdata and tempdata in asp.net mvc
- ASP.NET MVC With AngularJS
- Retrieving Data Using Form Collection and Inserting Into ASP.Net MVC
- MVC CRUD Operations Using Entity Framework
- Search Functionality in ASP.NET MVC
- How to create a User Registration page using asp.net mvc
- Store Multiple Checkbox state from cookie using Jquery
- Cascading Dropdownlist using Ajax in Asp.Net Mvc with city state country
- Insert, Update, Delete In GridView Using ASP.Net C#
- Binding Dropdownlist With Database In Asp.Net MVC
- Search and Filter data in Gridview using Asp.net MVC
- Select Insert, Update And Delete With ASP.NET MVC
- Display Data in GridView Using Asp.net MVC
- Validation in ASP.NET MVC Razor view
- CRUD Operation Using 3-Tier Architecture In ASP.NET
- How to get Connection String from Web.Config in Asp.Net C#
- Login page using 3-Tier Architecture in ASP.Net
- Asp.Net Image Upload in 3-Tier Architecture and store in sql database
6 Comments