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
When the jQuery UI Button widget was introduced, I was amused, but I wasn't exactly blown-away. It's not as exciting as Autocomplete, Accordion, or some of the other widgets, but handy nonetheless. However, when I discovered that it supported checkboxes and radiobuttons, I started to get excited, ... Read more
~ posted in professional on 01.18.2011
A simple plugin that fires events based on the proximity of the cursor to an element. ... Read more
~ posted in professional on 01.14.2011