17 April 2014

Basics of MVC --MVC(Model View Controller)

     ASP.NET MVC is the Microsoft's Web application frame work and the other one is the web form frame work. 

As the name specifies MVC contains 
1. Model 
2.View 
3.Controller 

MVC Frameworks maps the URLs to Controllers (or controller action methods.). And the controller processes the input or incoming request and calls a View (That is our html output).Model does the business logics in the projects that needed by the View to populates the output and controller used the model to save data, update data etc. 

Controller class is responsible for 

1. Locating the action methods. 
2. Getting the arguments for action method. 
3. Processing the action method and handles the errors during the processing phase. 
4. Call the appropriate View (Html output) pages.

The Basics of MVC are


No comments:

Post a Comment