Click here to Skip to main content
14,830,482 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: What's so bad about webforms? Pin
F-ES Sitecore19-Nov-19 1:35
mveF-ES Sitecore19-Nov-19 1:35 
GeneralRe: What's so bad about webforms? Pin
jkirkerx19-Nov-19 12:59
professionaljkirkerx19-Nov-19 12:59 
GeneralRe: What's so bad about webforms? Pin
F-ES Sitecore19-Nov-19 23:04
mveF-ES Sitecore19-Nov-19 23:04 
GeneralRe: What's so bad about webforms? Pin
jkirkerx20-Nov-19 10:43
professionaljkirkerx20-Nov-19 10:43 
GeneralRe: What's so bad about webforms? Pin
DerekT-P20-Nov-19 1:22
professionalDerekT-P20-Nov-19 1:22 
GeneralRe: What's so bad about webforms? Pin
DerekT-P19-Nov-19 0:23
professionalDerekT-P19-Nov-19 0:23 
AnswerRe: What's so bad about webforms? Pin
F-ES Sitecore18-Nov-19 23:30
mveF-ES Sitecore18-Nov-19 23:30 
AnswerRe: What's so bad about webforms? Pin
A_Griffin20-Nov-19 5:57
MemberA_Griffin20-Nov-19 5:57 
"What's so bad about webforms?" Nothing, I say. The only thing you may want bear in mind is future maintainability by your project successors, if that is an issue. For whatever reasosn, WebForms are going out of favour, and finding (good) developers in years to come who can work with WebForms will only get harder.

But in and of themselves, WebForms are just fine. I still use them when I can get away with it. And I certainly don't have the issues with them that @jkirkerx does. (Who uses labels anyway? Use a Literal if you need to inject some HTML.)
Quote:
As a negative effect, you never really master HTML or HTML5.
I gave up learning HTML/CSS years ago anyway - that's what front-end developers are for! Smile | :) It's their job to make sure thinsg render on different devices. I just use what they give me. I never use the designer features in Visual Studio.
Quote:
I also got burned by the Ajax Control Toolkit.
I've never used the ACT. AJAX is simple enough to use with vanilla JS, or jQuery if you're using that anyway. I avoid "black-boxes" whenever possible. I like vanilla, and the KISS principle.

The trouble with so many out-of-the-box solutions to things is that they need to be all things to all people, catering for all scenarios. If you actaully sit an think about just what you need, it's usually only a tiny fraction of what some magic box offers, and you can have leaner code, with the added benefit of learning more, by writing your own code that does just and only what you want.

Nor have I expereienced any problems with Google, or IIS.

I'll have to take jkirkerx' word for it when he says "Now I can develop in 1/16 the amount of time it took me in WinForms" (I presume he means WebForms) but I can't say I've found that much difference, if indeed, any.

I like WebForms. I do accept that MVC, and now .NET Core, haven't come about for no reason, but there is a "horses for courses" aspect to all this. If you're a single developer on a relatively small-scale project (small business / charity / school, maybe) not too concerned about your code in 20 years... then there is no reason to give them up, if you're happy with it.

(On a separate but related note, I could make similar arguments for that other "black sheep" of the coding family: Visual Basic. Of course there are things you wouldn't use it for, but - horses for courses again - for smaller, simpler projects, why not? It's easy, quick, and quite up to the task - it does, after all, leverage the same .NET libraries under the hood.)
GeneralRe: What's so bad about webforms? Pin
DerekT-P20-Nov-19 9:05
professionalDerekT-P20-Nov-19 9:05 
AnswerRe: What's so bad about webforms? Pin
Steve Naidamast24-Nov-19 6:53
professionalSteve Naidamast24-Nov-19 6:53 
GeneralRe: What's so bad about webforms? Pin
DerekT-P24-Nov-19 9:18
professionalDerekT-P24-Nov-19 9:18 
GeneralRe: What's so bad about webforms? Pin
Steve Naidamast25-Nov-19 4:30
professionalSteve Naidamast25-Nov-19 4:30 
QuestionFacing Issues while reading an excel file and inserting it's rows to a my sql tabble. Working fine in local machine but giving error after deployement Pin
Member 1465772316-Nov-19 3:23
MemberMember 1465772316-Nov-19 3:23 
AnswerRe: Facing Issues while reading an excel file and inserting it's rows to a my sql tabble. Working fine in local machine but giving error after deployement Pin
phil.o16-Nov-19 4:08
mvephil.o16-Nov-19 4:08 
GeneralRe: Facing Issues while reading an excel file and inserting it's rows to a my sql tabble. Working fine in local machine but giving error after deployement Pin
Member 1465772317-Nov-19 7:29
MemberMember 1465772317-Nov-19 7:29 
GeneralRe: Facing Issues while reading an excel file and inserting it's rows to a my sql tabble. Working fine in local machine but giving error after deployement Pin
phil.o17-Nov-19 9:26
mvephil.o17-Nov-19 9:26 
QuestionChange datatable from column to row and bind it to gridview Pin
Anand Solomon14-Nov-19 5:19
MemberAnand Solomon14-Nov-19 5:19 
QuestionAccessing Master Page Methods in Content Page and Accessing this.Master page Control from Class Library Pin
Member 1115418813-Nov-19 18:34
MemberMember 1115418813-Nov-19 18:34 
AnswerRe: Accessing Master Page Methods in Content Page and Accessing this.Master page Control from Class Library Pin
F-ES Sitecore13-Nov-19 23:23
mveF-ES Sitecore13-Nov-19 23:23 
GeneralRe: Accessing Master Page Methods in Content Page and Accessing this.Master page Control from Class Library Pin
Member 1115418814-Nov-19 0:17
MemberMember 1115418814-Nov-19 0:17 
GeneralRe: Accessing Master Page Methods in Content Page and Accessing this.Master page Control from Class Library Pin
Richard Deeming14-Nov-19 1:25
mveRichard Deeming14-Nov-19 1:25 
Question[Solved] Retrieve Session Array variable to Array variable in Class Library Project Pin
Member 1115418813-Nov-19 0:00
MemberMember 1115418813-Nov-19 0:00 
AnswerRe: Retrieve Session Array variable to Array variable in Class Library Project Pin
Richard Deeming13-Nov-19 2:15
mveRichard Deeming13-Nov-19 2:15 
GeneralRe: Retrieve Session Array variable to Array variable in Class Library Project Pin
Member 1115418813-Nov-19 2:48
MemberMember 1115418813-Nov-19 2:48 
GeneralRe: Retrieve Session Array variable to Array variable in Class Library Project Pin
Richard Deeming13-Nov-19 3:36
mveRichard Deeming13-Nov-19 3:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.