Model-View-Controller(MVC)

MVC :

            MVC (Model-View-Controller) is   architectural design pattern that separates an application into  a three logical modules.

  1. Model
  2. View
  3. Controller
        
           ASP.NET MVC is web development framework from Microsoft that adopts the most powerful
features of Model-View-Controller (MVC) architecture.It is total different from Web forms in architecture.ASP.NET is a framework for building scalable,standards-based web applications using well-established design patterns and power of ASP.NET and the .NET framework.

          Before going to learn about the ASP.NET MVC flow it is mandatory to know about the MVC architecture flow.

   
              

Model:

              Model represents the data,and does nothing else that users work with. These can be simple view models, which just represent data being transferred between views and controllers; or they can be domain models, which contain the data in a business domain as well as the operations, transformations, and rules for manipulating that data.

View:

            Views, which are used to render some part of the model as a user interface.The View component is used for user interface actions such as textboxs,drop downs etc.

Controller:

              Controllers is responsible for handling incoming requests and process the same.Controller process incoming requests, perform operations on the model, and select views to render to the user.