r/dotnet • u/Zardotab • May 30 '22
Microsoft, please open-source Web Forms 🚫⬇️🚌
Microsoft, please open-source Web Forms if you don't wish to improve/modernize it. Don't do what you did to VB-Classic shops: throw them under the bus, having all that code already written. (In theory there were code converters for classic-to-net, but they were clunky and not practical.)
Web Forms is often better for small-team internal CRUD projects than MVC. But many shops are reluctant to use it because MS has implied multiple times it's deprecated, scaring them away from use. If it goes open-source, then fears of a VB-Classic-under-bus repeat will diminish.
It hurts your tool reputation to under-bus a shop's tools, and thus hurts your profits 💰. In the longer run it's in your best interest. Google already ruined their dev cred by busing so many tools.
Thank You
Granted, open-sourcing the IDE may be tricky, but hook API's can be devised so Eclipse etc. can easily hook in.
27
u/[deleted] May 30 '22
Webforms has too many hard dependencies on non-open source components... namely system.web and in turn, IIS. Microsoft did spend some effort in trying to figure out if they could reimplement Webforms without these dependencies but it was deemed impractical. You never know though.
24
u/[deleted] May 30 '22
Developers don’t want to work in webforms anymore. MS signaled there wasn’t a future for it with the release of Core. MS isn’t investing resources for framework outside of security updates. It makes no sense to use it.
22
u/davidfowl Microsoft Employee May 30 '22
We have no plans to modernize, webforms. It’s in maintenance mode. Your question is interesting though, what would you do with the open source version. Would you step up to be a maintainer and core contributor? Is this something that runs on .NET 6+ or do you want the actual webforms that runs on .NET Framework and ships with windows to be open source?
13
u/KrisDing May 30 '22
Aren’t Razor Pages more or less the modern equivalent?
10
u/Jesuschrist2011 May 30 '22
While I think we all agree it should be open sourced - there’s a reason these technologies die. See the first comment of your linked thread
13
u/realzequel May 30 '22 edited May 31 '22
Damn, you really have a thing for crappy old tech. You think people really miss VB classic?
You think in any regard, WebForms is better than MVC? I did WebForms but it’s an abomination. MVC is cleaner, more testable and leads to less errors.
You think MS lost money by dropping support for WebForms?
I feel sorry for you.
3
u/SohilAhmed07 May 30 '22
I used to think the same that having an open source framework would be great but it usually is not. There are many morden tech and ways you can perform small and heavy task with ease these days.
For example, a school just enters students marksheet data in to our software, they just put a name on top and fill data with Subject names in a Entry Table style. Usually dint delete any records, and dint even have a update function in the whole application. There is no Students table to hold records, no subject table, just a Marksheet table.
This is built in MVC .net core and uses MySQL. One can easy scale up the whole application to include a ton of things in this application or just use as it is.
VB is simply just out-of-date language now, i too had my fair share of devolpment with it but as things update, we as developers also need to update.
3
u/Atulin May 31 '22
WebForms are dead, you just need to go through the stages of grief.
If you want to make a quick internal application, Blazor Server is the way. Let the dead rest in peace.
3
u/tLxVGt May 31 '22
I guess it’s time to stop responding to this guy. He lives in a cave and desperately tries to justify the fact that normal houses are bloat and using wood to build them is waste of resources.
Just stay in your cave and use prehistoric technologies…
3
u/xcomcmdr May 31 '22
No. Burn it.
15
u/HawocX May 30 '22
Everyone should be reluctant to use it for new projects. It has reached its final stage and will be fully deprecated sooner or later. MS will probably continue to support it with securuty updates for a long time.
As for VB 6.0, the runtime is still supported on modern Windows versions, 24 years after its release. The IDE, while out of support, runs on Win 11. That is the the opposite of throwing anyone under the bus.
Sometimes old tech needs to die but widely used MS tech dies very slowly. And as others have pointed out, MS wanted to open source Web Forms but it would wasn't feasible.
1
u/davidfowl Microsoft Employee Jun 05 '22
Turns out this company did a webforms port on top of ASP.NET Core https://devblogs.microsoft.com/dotnet/incremental-asp-net-to-asp-net-core-migration/#comment-15756
3
u/davidfowl Microsoft Employee Jun 03 '22
I wrote a comment on a recent blog that summarized my view on things https://devblogs.microsoft.com/dotnet/incremental-asp-net-to-asp-net-core-migration/#comment-15746
2
u/Jurio_li Jun 02 '22
migrate to blazor webAssembly, has control trees, no viewstate. https://blazorwebformdemo.github.io/
1
u/rbobby May 30 '22
Try just plain Razor pages instead of controllers and views. Much better than webforms.
Still... it would be terrific if they did open source webforms.
I can't help but think they haven't done this in order to kill webforms off. Which is not a nice thing to do to tens of thousands of corporate developers. Not nice at all.