What is MVC3 in asp.net


What is MVC?

The  MVC  is a web application framework that implements the model-view-controller (MVC) pattern.

           Use of the Model/View/Controller (MVC) pattern results in applications that separate the
different aspects of the application (input logic, business logic, and UI logic), while providing
a loose coupling between these elements.


 MODEL:
                 The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state
(usually from the controller). In event-driven systems, the model notifies observers (usually views)
when the information changes so that they can react.

VIEW:

         The view renders the model into a form suitable for interaction, typically a user interface element. Multiple views can exist for a single model for different purposes. A view port typically has a
one to one correspondence with a display surface and knows how to render to it.

CONTROLLER:

     The controller receives user input and initiates a response by making calls on model objects. A 
controller accepts input from the user and instructs the model and a view port to perform actions
based on that input.

1 comment: