Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

ASP.NET: MVC v WebForms

  • 29-01-2014 12:04pm
    #1
    Registered Users, Registered Users 2 Posts: 2,815 ✭✭✭


    I know there are loads of articles about this topic online, but I'm curious about the opinions of the members of this forum on this issue, especially any ASP.NET leads.

    For example, let's say you had a develop a typical online store with a shopping cart. Would you recommend MVC or WebForms and what are their benefits/drawbacks.

    Aside from the relative simplicity/fast dev time of WebForms do they hold any other major advantage over MVC.

    Cheers


Comments

  • Registered Users, Registered Users 2 Posts: 2,054 ✭✭✭Colonel Panic


    WebForms aren't terrible, but I think postbacks and embedded viewstate is at odds with how the web works. It feels like a solution for desktop app developers.

    I wouldn't balk at having to maintain WebForms sites, but new development should always be done with MVC, which IMO is one of the best frameworks of it's kind.

    It's insanely quick and easy to make stuff with MVC once you get your head around the conventions and learn a bit of Razor syntax.


  • Registered Users, Registered Users 2 Posts: 2,815 ✭✭✭SimonTemplar


    WebForms aren't terrible, but I think postbacks and embedded viewstate is at odds with how the web works. It feels like a solution for desktop app developers.

    I wouldn't balk at having to maintain WebForms sites, but new development should always be done with MVC, which IMO is one of the best frameworks of it's kind.

    It's insanely quick and easy to make stuff with MVC once you get your head around the conventions and learn a bit of Razor syntax.

    That is exactly how I feel about Webforms. I'm currently doing ASP.NET as part of a Computing degree course and we are focused entirely on Webforms. I think that is a mistake, hence my question here. I think there is far too much abstraction using Webforms (even the GUI wizards Visual Studio has to set up your db etc). Students don't get a feel for the underlying first principles. I know the MVC framework abstracts some of the workings also, but not to the same extent as Webform (from what I've seen so far anyway)


  • Registered Users, Registered Users 2 Posts: 14,403 ✭✭✭✭jimmycrackcorm


    Work on a legacy web application that is mostly webforms. They are terrible, every screen update flashes the browser. We've moved to mvc for new stuff which is easier and more refined.

    It's a no contest especially when you mix in Jquery UI or knockoutJS


Advertisement