Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland asked on

ASP.net Web App - Do I need to move away from Web Forms


I usually build ASP.net web apps in VB.net using web forms. Is there a better way of doing this? I know little about ,net core and other ways to build web apps so just need a little advice. Also do I need to move to C#?

I found the following article that confuses me even more

Web Forms in the Age of .NET 5+: Planning for the Long Term (inedo.com) 

Should we avoid ASP.NET Web Forms for new applications?

Probably. Each application is different, so there is no simple answer. Microsoft has made it clear that .NET 5+ (the heir of .NET Core) is the future of .NET development; it's inevitable even if not immediate, so making the switch may be a good investment in your future. Also, consider these factors when deciding:

ASP.NETVisual Basic.NET

Avatar of undefined
Last Comment
Murray Brown

8/22/2022 - Mon
Partha Mandayam

I don't think you should completely move away from web forms
Some applications are better with web forms and some with mvc
You have to decide on a case by case basis
There is better separation of concerns in the MVC pattern since there are three distinct components model, view and controller
MVC is also faster because it doesn't use viewstate like web forms and is also better for TDD
MVC is more complicated to program than web forms
Chinmay Patel

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Murray Brown

thanks very much
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes