Both ASP.NET Web forms and ASP.NET MVC are framewoks for developing web applications. We can choose the one whichever based on the requirement we have for our web applications.
Following are the major differences between them.
ASP.NET WEB FORMS | ASP.NET MVC |
Has the view state | Does not have view state |
Event driven model. Everything in web forms are event based. | Controller Action driven model. |
url maps to physical location of file. | url maps to Controller actions |
Supports in-built server controls | Does not have in-built server controls. Everything in views are purely html code and jquery/javascript. |