If you haven’t already done so, go read part one! If you don’t, you’ll just be lost and left to wonder, "What is this dumb thing and why am I reading it?" I’m not saying that reading part one will answer those questions necessarily [50/50 I’d posit], but my ... Read more
~ posted in personal on 01.16.2014
Congratulations, you’re a yuppie! (sellout!) ... Read more
~ posted in personal on 01.10.2014
In the past, if you needed to run startup code in a class library, you included a method call in the "Application_Start" of the Global.asax file. Thankfully, .NET 4.0 has made things easier with the PreApplicationStartMethodAttribute! This helpful attribute allows us to hand-pick code to execute when the application ... Read more
~ posted in professional on 12.30.2013
Ho, Ho, Ho! For this year’s company Christmas card, my place of work (Williams-Forrest) decided to make a fun little site that decides whether or not you’ve been Naughty or Nice. ... Read more
~ posted in professional on 12.17.2013
Creating background tasks in .NET has always been a bit of a pain. You want to create something localized to your project solution that doesn't have to deal with scheduled tasks or other kinds of tomfoolery. Well, thankfully, those days are far behind us! All we need is a little... ... Read more
~ posted in professional on 12.03.2013
If you've worked within a SharePoint project, you may have noticed the absense of the "Global.asax" file. The SharePoint infrastructure doesn't include this file, so all methods within it, including the "Application_Start", are also unavailable. However, with some tricky maneuvering, we are able to simulate it. ... Read more
~ posted in professional on 11.25.2013
I really love the Orchard CMS (a CMS engine built upon the .NET MVC Framework), but it isn't without its quirks. I've found that often times, when I try to delete a column from an existing table in the migrations file, the site inexplicably starts throwing errors. After digging ... Read more
~ posted in professional on 02.07.2013
Sound familiar? How about one of these: ... Read more
~ posted in professional on 05.03.2012
This is a simple extension method that finds all child controls whose ID matches the regex pattern. ... Read more
~ posted in professional on 06.08.2011
A themeroller ready replacement for the standard Alert and Confirm dialog boxes. ... Read more
~ posted in professional on 02.04.2011