What is MVC (Model view controller)?

devquora
devquora

Posted On: Feb 22, 2018

 

    1 Answer Written

  •  devquora
    Answered by Anil Saini

    What is MVC in Asp.net?

    MVC stands for Model, View, and Controller.

    • Model - It is used to represent the shape of the data and business logic. It maintains the data of the application. Model objects are used to retrieve and store model state in the database.
    • View - It is the user interface. It is used to display the data using a model to the user. It also enables them to modify the data.
    • Controller - It handles the user request. It interacts with the view and in-turn raises the appropriate URL request. This URL request will be handled by the controller. The controller then renders the appropriate view with the model data as a response.

Related Questions

Please Login or Register to leave a response.

Related Questions

MVC interview questions

What is Razor in MVC?

 ASP.NET MVC has always supported the concept of “view engines” – which are the pluggable modules, which practica..

MVC interview questions

Explain attribute based routing in MVC?

 In ASP.NET MVC 5.0 we have a new attribute route,by using the “Route” attribute we can define the URL structure. F..

MVC interview questions

What is TempData in MVC?

 TempData is a dictionary object to store data temporarily. It is a TempDataDictionary class type and instance property..