ECatsBlog
  • Home
  • Web Dev
  • Reviews
  • Thoughts
  • ASP
  • SQL
  • Browser
  • Mobile
  • Cloud
  • CMS
  • ECommerce
  • App Hacks
  • Fixes
  • Mapping
  • 3D Printing
  • XAML
  • SEO

Categories

  • 3D Printing (1)
  • App Hacks (3)
  • ASP (19)
  • Browser (12)
  • Cloud (10)
  • CMS (7)
  • ECommerce (6)
  • Fixes (2)
  • Mapping (1)
  • Mobile (12)
  • Reviews (70)
  • SEO (9)
  • SQL (12)
  • Thoughts (59)
  • Uncategorized (1)
  • Web Dev (91)
  • XAML (9)

Archives

  • June 2019 (1)
  • January 2019 (175)
  • December 2018 (47)

Web Forms or MVC?

When Written: June 2010

I’m often asked by readers which is the best way to develop asp .net applications, should one use the traditional Web Forms method or the newer MVC (Model View Controller)? The first thing to remember here is that they are not mutually exclusive nor is one going to be better supported in the future by Microsoft, both are equally valid methods of application development.

Let’s take a brief look at the differences. In its simplest form, in MVC the Model module manages the data and might be a database but doesn’t have to be. The Controller module handles the business logic whilst the View module handles the display of the data. Now whilst you can even combine MVC and Web Forms within the same project, Web forms take a lot of the coding work away from you and deals with a lot of the browser differences by using server-side controls that generate the HTML.

If however you want full control of the HTML generated then MVC is the way to go, and is extremely extensible, but be prepared for a considerable amount of more coding depending on your application. Both are fully supported and will continue to be so according to Microsoft. SharePoint applications are built on the Web Forms model for example.

Article by: Mark Newton
Published in: Mark Newton

  • Previous The end of Visual Basic 6?2 years ago
  • Next ‘Brave Trousers’ – Part 22 years ago

Leave a Reply Cancel reply

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

Recent Posts

  • IIS8 SMTP setup
  • 3D printing the Ness of Brodgar
  • Which phone is best?
  • Mobile Apps
  • HTML5 mobile app dev – part 5

Recent Comments

  • Quality assurance services on Windows 10 phone and HERE Maps – Fixed!
  • HP Deskjet 3755 Wireless Printer Setup on Windows 10 phone and HERE Maps – Fixed!
2021 ECatsBlog. Donna Theme powered by WordPress