ASP.NET Can Be Annoying

By Thomas Krehbiel

I’ve been working on a new ASP.NET app at work, which gives me a new opportunity to complain about ASP.NET.

One of my ongoing struggles with ASP.NET is figuring out the correct sequence that page and control events are fired in.  I find myself constantly stepping through code to figure out whether SelectedIndexChanged events happen before or after DataBind events or between the Load event and PreRender event or some other such nonsense.  It drives me crazy because it’s something I never have to do in PHP.  (Because you get to write your own page life cycle.)  It’s really tempting sometimes to just override Page.Render() and do everything myself.

And don’t get me started on UpdatePanels.  This is the second project in a row where I simply can’t get them to work right.  “AJAX is so simple in ASP.NET!” they said.  “Just drop an UpdatePanel in there and it just works!”  Yeah, right.  Take my advice and stick with jQuery or even hand-coded Javascript.  It’s much less painful.

Reader Comments

Comments are the property of their respective owners.

1. Sean/Red said,

Ok, after giving .Net an honest go for the past year (for the second time in my career, mind you). I've given up and running away as fast as I can.

I'm stepping back into the Java world and I am so much happier here. The selection and technology is soooooo much nicer! Yay!

BTW, the UVURL url that ended up on facebook bombed: http://uvurl.net/az

2. Tom said,

avatar

Where do you find places to host JSP pages? And what dev tools do you use for Java web development? I'm going to look at the ASP.NET MVC Framework for whatever my next project is. And uvurl works for me, you must not have clicked it right. :)

3. Tom Test said,

Can't post comments?

4. Tom+Test said,

What da?

5. Tom Test said,

Oops, need to adjust url encoding there I guess.

6. Tom Test said,

I think I fixed the plus sign.

7. Tom Test said,

Yay!

Add a Comment

Name: (optional)
Comment: