NCrunch + Debug.Print() = Almost a REPL

I remember back in the mid-90’s when I could launch a compile cycle on my C++ program and then go to lunch.  It might be done by the time I returned.  I’m sure that SOMEWHERE in the world there are still projects like that, but they’re definitely not in the mainstream like they used to be. …


The CORRECT Way to Code a Custom Exception Class

There is a lot of advice out there on how to go about building your own custom exception classes.  A lot of these sources are at least partially correct. Some are totally wrong.  Some even advocate abandoning the base System.Exception class altogether, but that’s throwing the baby out with the bathwater, in my opinion.  None…


Starting Up with Windows Azure

I’m not new to Windows Azure, but I would definitely like to learn more.  Really, the landscape has changed a lot in the last year or so, making "knowing Azure" about as complex as "knowing Microsoft" was about 10-15 years ago. Let’s start off with some definitions. X as a Service "Software as a Service"…


How to Stop Mercurial from Complaining about SSL Cert Fingerprints

I know Mercurial is just trying to be friendly and warn me that it doesn’t know if certain SSL certs are valid or not (though I wish they’d just use the Windows cert repository when on the Microsoft platform), but the little nag warnings like… “warning: certificate with fingerprint 1c:ef:1d:4f:55:57:5b:8c:ab:78:a1:72:2c:d2:1b:56:fd:64:03:19 not verified (check hostfingerprints…


AutoFakes Is Now Live at CodePlex

After many years of just talk, I’ve finally released my first Open Source Software project at CodePlex, called AutoFakes.  It’s meant for Visual Studio 11, though I suppose it would probably work in VS 10 if you have Pex/Moles installed, but definitely haven’t tested THAT. Basically, it’s like an auto-mocking container (minus the container –…


Why Won’t My Custom Cmdlets Appear?

Once again, I’ve been puzzled multiple times as to why my custom cmdlets sometimes don’t appear in PowerShell after I’ve added them via Add-PSSnapIn.  The last post didn’t stick with me, so a little more detail to drill it into my thick skull this time… As it turns out, Cmdlets must have a public default…


HTML 5 Printable Infographic

Amit @ released a really nice Infographic: An Ultimate HTML5 Cheat Sheet for Web Developers.  Very nice indeed.  But some of us Luddites still like to print things like these out and post them on the walls – a big pain when you have a long graphic image.  So I’ve broken up the graphic…


Connecting to Exchange 2010 from ILM

Besides the post from my good friend, Aung OO, on Exchange Provisioning using ILM 2007 and FIM 2010, one thing to keep in mind is that if you don’t get the Exchange 2010 RPS URI correct, then you might get weird errors when exporting even though you don’t expect to provision any mailboxes.  Twice now…


Right-Click and Dragging a .ZIP

Maybe this was obvious to everyone else, but I just realized that by right-clicking and dragging a .ZIP file, I can extract it to the folder that I’m dragging it onto.  Whoda thunk it?