Difference Between Asp.Net Webforms and ASP.NET MVC



Difference Between Asp.Net Webforms And ASP.NET MVC



        ASP.NET WebForms      ASP.NET MVC         
1
Maintains the MasterPage.
Maintains the Layouts.
MVC is a Model View Controller.
2
Code Reusablity for User Controls.
Code Reusablity for Partial Views.
3
Page Controller Patterns.
Every Page has a Code-Behind Class that acts as a Controller.
Front Controller Patterns.
This is a Single Central controller for all Pages.
4
ASP.NET WebForms is not a OpenSource.
ASP.NET MVC ia a OpenSource.
5
I.ASP.NET WebForms uses Web Forms Syntax.

II.Controls Used Server Controls.
I.ASP.NET MVC uses Cutsomized Syntax.
Razor View Engine(Default).
II.Controls Used HTML Helpers.





0 comments:

Post a Comment