ASP.Net MVC Question:

Explain Model, View and Controller represent in an MVC application?

ASP Dot Net MVC Interview Question
ASP Dot Net MVC Interview Question

Answer:

-MVC framework is a development method in which application is divided in three components: Model, View and Controller

-Model: In model we have to write our business logic and all the methods for data manipulations (CRUD)

-View: This component is responsible for user interface of the application.

-Controller: Controller handles the request and sends the response. It sends the request to View as a response or to Model. It acts as a mediator between Model and View.


Previous QuestionNext Question
Explain what are the advantages of ASP.NET MVC framework?Explain the difference between ASP.NET MVC and ASP.NET WebForms?