Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

Monthly Archives: May 2006

Communities and Fragmentation

For the better part of three years I’ve been troubled by the seemingly exponential growth of crap on the internet – specifically with respect to programming topics (more specifically with respect to .NET). In the past I’ve blogged against poorly … Continue reading 

Posted in Grab a coffee before reading | 3 Comments

HttpHandlers – Learn Them. Use Them.

My first blog post from Word 2007 – let’s see how this goes. Introduction There are many features in ASP.NET that are unfortunately underused. Sometimes a feature gets looked over because it’s too complicated. Other times, like in the case … Continue reading 

Posted in Grab a coffee before reading | 69 Comments

Have I inherited a disaster?

I hate taking over someone’s bad code. The projects always go on forever and you are forced to follow bad practices to try and string together fixes and features without it all crumbling down. There are some quick, not always … Continue reading 

Posted in Grab a coffee before reading | 37 Comments

Should Response.Redirect really throw an exception?

Every now and again, we get a question in the newsgroup asking why they are getting a ThreadAbortException. Code is provided, and 99% of the time a Response.Redirect is always the culprit. I’ve answered this atleast 10 times without really … Continue reading 

Posted in Short Outbursts | 13 Comments

XSL gives me the warm and fuzzy

I don’t get to play with it often, but when I do, I absolutely love it. There’s just something I love about messing with XSL (it ranks right up there with looking at SQL execution plans – seriously!) I think … Continue reading 

Posted in Short Outbursts | Comments Off on XSL gives me the warm and fuzzy

Wishlist: System.Exception constructor to support string formatting

As I’ve indicated in the past, I’m a pretty big fan of string.Format and anything else that accepts a string format (Databinder.Eval, ToString,….). I find myself using string.Format a lot when throwing exceptions: throw new FuelConfigurationException(string.Format(“Missing required attribute \”{0}\”/“, attributeName)); … Continue reading 

Posted in Uncategorized | 8 Comments

ASP.NET isn’t always the right tool

In my 2.0 isn’t a silver bullet post, Alex Lowe made it clear that my enterprise development perspective, while valid, only represents a portion of the ASP.NET developer community. The reality is that Alex is right, but should he be?  … Continue reading 

Posted in Uncategorized | 8 Comments

SQL Server – No Arrays? No Problem!

Just a couple weeks ago I was pointing to the lack of a LIMIT keyword in SQL Server 2005. Last week, I was reminded about the lack of arrays.  I have a hard time believing that a platform/language/framework/anything aimed at … Continue reading 

Posted in Grab a coffee before reading | 11 Comments

QueryString separated by something other than & (ampersand)?

Over in the microsoft.public..aspnet newsgroup today, Richard asked if it was possible to have ASP.NET use a semicolon as the querystring separator.  My first thought was “DUH! NO!!” but I decided to read the URI RFC and learnt that the … Continue reading 

Posted in Short Outbursts | 3 Comments

ClientScript functions might not work without a server form

It didn’t take me hours to figure it out, but I certainly wasted more time on this that I would have liked. ClientScript.RegisterClientScriptInclude  (and I assume the other RegisterXXX classes) won’t work unless you have a <form runat=”server”…></form> on your … Continue reading 

Posted in Uncategorized | Comments Off on ClientScript functions might not work without a server form