ASP.Net MVC Question:
Explain the difference between ASP.NET MVC and ASP.NET WebForms?
Answer:
-ASP.NET WebForms uses the page controller patterns to render a layout. Whereas, ASP.NET MVC provides a model that doesn’t have connection with the View so it becomes easier to test and maintain the applications.
-ASP.NET WebForms uses the Front controller pattern for all the pages to process the web applications requests and used to facilitate routing architecture. Whereas, ASP.NET MVC has the View that is called before the controller and this controller is used to render the View that is based on the actions as the user interacts with the interface.
-ASP.NET WebForms manage the state of the model by using the view state and server based controls. Whereas, ASP.NET MVC doesn’t manage the state information like WebForms.
-ASP.NET WebForms are event driven. Whereas, ASP.NET MVC are test driven.
-ASP.NET WebForms uses the Front controller pattern for all the pages to process the web applications requests and used to facilitate routing architecture. Whereas, ASP.NET MVC has the View that is called before the controller and this controller is used to render the View that is based on the actions as the user interacts with the interface.
-ASP.NET WebForms manage the state of the model by using the view state and server based controls. Whereas, ASP.NET MVC doesn’t manage the state information like WebForms.
-ASP.NET WebForms are event driven. Whereas, ASP.NET MVC are test driven.
Previous Question | Next Question |
Explain Model, View and Controller represent in an MVC application? | Tell me How ASP.NET MVC differs from ASP.NET Web forms? |