1 Answer

0 votes
by
Below is a detail table of differences. But during interviewit’s difficult to talk about all of them due to timelimitation.So I have highlighted important differences which you can run through before the interviewer.

MVC 2

MVC 3

MVC 4

Client-Side Validation TemplatedHelpers Areas AsynchronousControllers

Html.ValidationSummaryHelper Method DefaultValueAttribute inActionMethod Parameters Binding BinaryData with Model Binders DataAnnotationsAttributes Model-Validator Providers NewRequireHttpsAttribute Action FilterTemplated Helpers Display Model-LevelErrors

Razor

Readymade project templates

HTML 5 enabled templatesSupportfor Multiple View EnginesJavaScriptand Ajax

Model Validation Improvements

ASP.NET Web API

Refreshed and modernized defaultproject templatesNew mobile projecttemplate

Many new features to support mobileapps

Enhanced support for asynchronousmethods
...