MVC–
1)definition:
it is framework that splits an application’s implementation logic into three component roles:
–Model->work as business logic and storage mechanism to store the data. Entity framework work in this component.
view ->it is user interface logic to which user direct interact in this component. Asp. Net and Razor use in view component.
controller->it is handle the request from view and update the model that result’s in changes of model’s state.
The browser send request to IIS,it searches the routs that define in MVC application and passes the request to controller. Controller is handle request and update or insert the data to model, model is revert back to controller and then controller rendered to view whatever request from model.at last, rendered data response passing to browser through IIS.
MVC2 Features
1) Attribute based model validation on both client and server.
2) Strongly typed helper classes
3) Asynchronous controller support.
MVC3 Features
1) Razor view engine
2) introduce on action filters and flexibility with support for dependency resolution.
3)support of jquery,validation in client side and JSON binding.
4)use of nuget package which download support new or update package.
MVC4 feature
1) introduce of webApi.
2) Mobile project template using jquery mobile
3) Bundling and Minification.
4) Support of asynchronous controller
Advantage of MVC.
1) separation of concerns between UI,Model and controller(Business logic)
2) Easy UNIT Test
3) Multiple view which can point to same model.