Comparison between ASP.Net and ASP.Net MVC

ASP.Net is development platform for building websites, pages using HTML, CSS, JavaScript?s and Server Side Scripting.

Few years back Microsoft released new version of ASP.Net called ASP.Net MVC which is mainly based on Model View Controller design. It is a lightweight and have all enhanced features of with more security and testable framework.

Asp.Net Web Forms Asp.Net MVC
It follow a traditional event driven development model It is a lightweight and follow MVC (Model, View, Controller) pattern based development model
It has server controls. It has html helpers.
It has state management (like as view state, session) techniques. It has no automatic state management techniques.
It has file-based URLs means file name exist in the URLs must have its physically existence. It has route-based URLs means URLs are divided into controllers and actions and moreover it is based on controller not on physical file.
It follows Web Forms Syntax It follow customizable syntax (Razor as default)
In It, Web Forms (ASPX) i.e. views are tightly coupled to Code behind (ASPX.CS) i.e. logic. In It, Views and logic are kept separately.
It has Master Pages for consistent look and feels. It has Layouts for consistent look and feels.
It has built-in data controls and best for rapid development with powerful data access. It is lightweight, provide full control over markup and support many features that allow fast & agile development
It has User Controls for code re-usability. It has Partial Views for code re-usability.
It is not Open Source. Asp.Net Web MVC is an Open Source.



, ,




Leave a Reply

Your email address will not be published. Required fields are marked *