News for hackers. Stuff that matters.
Re:Open Source .NET three years later by NKCSS on Sunday December 24, 2017 @11:09AM (#16000046)
I would find it hard to believe any new Projects would still use webforms. The fake statfull web MS tried to create with WebForms is just too bloated. With MVC they have something great, something you’d have to use generic handlers for in the past to get any sort of performance.
Re:Open Source .NET three years later by Spearchucker on Sunday December 24, 2017 @11:18AM (#16000083)
I'm a consultant and work across a number of accounts. Not sure what "fake statfull web" (assuming you meant state-full) means to you, but in one huge healthcare org and two medium-sized fin. services co's 4 new WebForms projects have started in the last 6 months. Smallest project is worth $1.2mm.
Re:Open Source .NET three years later by cptskippy on Sunday December 24, 2017 @03:00PM (#16001062)
WebForms was meant to loosely mimic WinForms and provide an easy transition for VB developers from desktop to Web, and it was mostly successful. The fake statefullness OP's referring to is FormState and the attempts to make WebForms more like WinForms.

With the emergence of AJAX though most competent WebForms developers dumped it because of then overheads and used the framework more like Classic ASP while integrating AJAX.

Re:Open Source .NET three years later by danielbarla on Sunday December 24, 2017 @04:04PM (#16001288)
To be fair, FormState problems could get pretty bad. By default, large apps would be posting back several hundred KB on each click (sometimes even in the low MB range). With AJAX, it was better, but still not in the acceptable range for non-intranet apps. There were always mechanisms by which competent developers could work around these problems, but for the most part, those would mean that you're fighting with the framework and not working in a particularly idiomatic, WebForms-y way.

In retrospect, I'm not surprised MVC gained popularity so quickly.

Re:Open Source .NET three years later by cptskippy on Friday December 29, 2017 @12:34PM (#16030594)
WebForms was a beast and a horrible web technology for the web. I was just stating that, since MS intent on killing VB, it was intended to make transition from Enterprise VB Desktop apps to Enterprise Web Apps easier and in that regard it was successful.

The issues with FormState made it mostly unusable over the internet, it was relegated to intranet applications for the most part.

Re:Open Source .NET three years later by na85 on Sunday December 24, 2017 @05:23PM (#16001627)
>state-full

You meant stateful, right? I mean if we're being pedantic it's good to actually be correct.

Something that has success is successful, and when you're having trouble sleeping you might say you're feeling wakeful. Why then would it be state-full?

Re:Open Source .NET three years later by gamblor956 on Sunday December 24, 2017 @12:36PM (#16000388)
I think it's different in Europe (where you appear to be located), but at least in the States Webforms are huge amongst the Fortune 500 and healthcare industries.
Re:Open Source .NET three years later by dep_b on Sunday December 24, 2017 @12:56PM (#16000475)
It's pretty awful in about any regard in my experience. What would be the reason to use it over MVC?
Re:Open Source .NET three years later by oblio on Sunday December 24, 2017 @01:40PM (#16000677)
Isn't using WebForms faster for implementing intranet apps? Drag and drop stuff, done.
Re:Open Source .NET three years later by cptskippy on Sunday December 24, 2017 @03:01PM (#16001067)
It can be for simple stuff. It can also be a huge pain in the ass and it took a while before it was truly JavaScript and AJAX friendly.
Re:Open Source .NET three years later by manigandham on Sunday December 24, 2017 @05:05PM (#16001532)
WebForms are still actively developed and supported by Microsoft. The latest version is very good and the WebForms paradigm is incredibly productive for general business-line apps. You can build entire apps within hours or days that would take months otherwise with separate frameworks.

If you have a massive complex webapp then you should use MVC, or look at a separate frontend JS talking to a backend API, but WebForms serves its niche very well.

Re:Open Source .NET three years later by wenc on Sunday December 24, 2017 @07:16PM (#16001980)
WebForms is only good for the simplest of LOB apps. Yes it is still supported, but many organizations are discouraging its use in new applications due to difficulties in scaling and long-term maintenance. In my company, all new projects are required to use MVC.

WebForms' selling point is that it is easy to bootstrap, but its limitations quickly become a liability in an enterprise setting, where small apps rarely stay small. Once you decide you need to extend your app and/or integrate with newer non-MS web technologies, you are backed into a corner.

WebForms is something that really ought to have been deprecated, but people are still clinging onto it because it's so easy to use and there are too many legacy apps that still depend on it.

I suspect it's the kind of Stockholm Syndrome that have kept Mongo users faithful over the years. At the back of your head you know you're going to have to pay down the technical debt later, but you can't resist because it's so easy to get started and to see results.

(though to be fair, Mongo 3.4 onwards has overcome some of the serious flaws of earlier versions)