Sarath Kumar
Difference between Asp.Net WebForm and Asp.Net MVC
By Sarath Kumar in ASP.NET on Mar 13 2014
  • Sarath Kumar
    Mar, 2014 13

    Asp.net framework is a part of .net platform for building, deploying and running web applications. Now, we can develop a web application by using Asp.Net Web Form and Asp.Net MVC. In this article, I am going to expose the main difference between Asp.Net Web Form and Asp.Net MVC.

    Difference between Asp.Net MVC and Web Forms

    Asp.Net Web Forms:
    • Asp.Net Web Form follow a traditional event driven development model.
    • Asp.Net Web Form has server controls.
    • Asp.Net Web Form has state management (like as view state, session) techniques.
    • Asp.Net Web Form has file-based URLs means file name exist in the URLs must have its physically existence.
    • Asp.Net Web Form follows Web Forms Syntax
    • In Asp.Net Web Form, Web Forms(ASPX) i.e. views are tightly coupled to Code behind(ASPX.CS) i.e. logic.
    • Asp.Net Web Form has Master Pages for consistent look and feels.
    • Asp.Net Web Form has built-in data controls and best for rapid development with powerful data access.
    • Asp.Net Web Form is not Open Source.

    Asp.Net MVC :
    • Asp.Net MVC is a lightweight and follow MVC (Model, View, Controller) pattern based development model.
    • Asp.Net MVC has html helpers.
    • Asp.Net MVC has no automatic state management techniques.
    • Asp.Net MVC has route-based URLs means URLs are divided into controllers and actions and moreover it is based on controller not on physical file.
    • Asp.Net MVC follow customizable syntax (Razor as default)
    • In Asp.Net MVC, Views and logic are kept separately.
    • Asp.Net MVC has Layouts for consistent look and feels.
    • Asp.Net Web Form has User Controls for code re-usability.
    • Asp.Net MVC has Partial Views for code re-usability.
    • Asp.Net MVC is lightweight, provide full control over markup and support many features that allow fast & agile development. Hence it is best for developing interactive web application with latest web standards.
    • Asp.Net Web MVC is an Open Source.

    • 3
  • Pramod Verma
    Feb, 2015 10

    Asp.Net Has Viewstate and MVC does not have ViewState.

    • 2
  • Pulak deb
    Mar, 2017 10

    In mvc, multiple views is in one controller where In webform, every view have its own controller.

    • 1
  • Bipul tiwari
    May, 2016 17

    ASP.NET Web Forms and MVC are two web frameworks developed by Microsoft. ASP.NET MVC is not replacing ASP.NET WebForms. Both these development models exist and can be used to develop ASP.NET applications. for more click http://www.agrini-tricks.in/Tutorial/Difference-between-Asp.Net-WebForm-and-Asp.Net-MVC-and-Why-MVC-is-better.aspx

    • 1
  • Bipul tiwari
    May, 2016 17

    http://www.agrini-tricks.in/Tutorial/Difference-between-Asp.Net-WebForm-and-Asp.Net-MVC-and-Why-MVC-is-better.aspx

    • 1
  • Bipul tiwari
    May, 2016 17

    http://www.agrini-tricks.in/Tutorial/Difference-between-Asp.Net-WebForm-and-Asp.Net-MVC-and-Why-MVC-is-better.aspx

    • 1
  • Munesh Sharma
    Oct, 2014 9

    http://www.dotnet-tricks.com/Tutorial/mvc/017O031112-Difference-between-Asp.Net-WebForm-and-Asp.Net-MVC.html

    • 1
  • Roymon TP
    Oct, 2014 9

    ASP.NET web form is tightly coupled where as ASP.Net MVC is loosely coupled.

    • 1
  • Khan Abrar Ahmed
    Apr, 2014 6

    http://www.dotnet-tricks.com/Tutorial/mvc/017O031112-Difference-between-Asp.Net-WebForm-and-Asp.Net-MVC.html

    • 1
  • Arun Kumar Tiwari
    Jan, 2020 30
  • Arun Kumar Tiwari
    Jan, 2020 30
  • Arun Kumar Tiwari
    Jan, 2020 30
  • Baburao Mannepalli
    Dec, 2018 1

    Here all controllers are append on server where as mvc is not

    • 0
  • Pulak deb
    Mar, 2017 10

    In mvc, multiple views is in one controller where In webform, every view have its own controller.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS