ASP.Net MVC Question:
Download Job Interview Questions and Answers PDF
What is the difference between MVC (Model-View-Controller) and MVP (Model-View-Presenter)?
Answer:
-MVC has the controller handling the important work and all the request from the applications are coming directly to the controller. Whereas, MVP has the View as the handler and it handles the requests that are being generated.
-MVC is used for web application to provide an easy interface through which the interaction can be done. Whereas, MVP is having the View as its first object that gets executed in the pipeline and it is responsible for passing the event to the Presenter.
-ASP.NET Webforms are hard to implement in MVC structure due to its complex architecture and giving the total control to the controller to handle the requests. Whereas, MVP divides the roles such, that it becomes easy to handle the requests and pass it from one model to another.
-MVC is used for web application to provide an easy interface through which the interaction can be done. Whereas, MVP is having the View as its first object that gets executed in the pipeline and it is responsible for passing the event to the Presenter.
-ASP.NET Webforms are hard to implement in MVC structure due to its complex architecture and giving the total control to the controller to handle the requests. Whereas, MVP divides the roles such, that it becomes easy to handle the requests and pass it from one model to another.
Download ASP Dot Net MVC Interview Questions And Answers
PDF
Previous Question | Next Question |
What is repository pattern in MVC.NET? | Explain the page lifecycle of an ASP.NET MVC? |