Digging My Blog - Dan Hounshell

Another .Dan Powered Site

June 2008 - Posts

Upgrading Kigg Unit Tests to MVC ASP.NET Preview 3
Upgrading Kigg Unit Tests to MVC ASP.NET Preview 3
Yesterday I posted about updating Kigg to Preview 3 . Immediately after publishing that post I realized that other than doing a find-and-replace of some of the code in the unit tests I had not tried running them, I assumed they would work. Bad assumption, lesson learned. While upgrading the code for the Kigg web site was fairly simple, upgrading the unit tests to get all passing green lights was not as easy. The biggest issue was that in Preview 2 the return type of the Contoller methods were void...


Upgrading Kigg to ASP.NET MVC Preview 3
Upgrading Kigg to ASP.NET MVC Preview 3
I downloaded Kigg from CodePlex, a Digg like application written with ASP.NET MVC, a few weeks ago and began playing around with it this evening. The current source code is setup for the MIX08 Preview 2 version not the current version, Preview 3. I have Preview 3 installed and did not want to go back so I set about updating it. The process went pretty well considering this was my first time really doing anything with the MVC framework. I plan on submitting a patch of the needed updates once I can...
LINQ to SQL - How to "Where in (value1,value2, ... valueN)"
LINQ to SQL - How to "Where in (value1,value2, ... valueN)"
According to FeedBurner the count of my blog subscribers has been steadily decreasing the last couple of weeks. I can't blame those quitters because my posts have been few and far between. But for those of you beautiful and intelligent people with enough patience to wait for something worthwhile - you're in luck today. Several days ago I was working with a LINQ to SQL statement where I wanted to get an item if it's name existed in a string array of passed in values. I needed a LINQ translation for...
Posted: Jun 17 2008, 02:33 PM by Dan Hounshell | with 5 comment(s)
Filed under: ,
Things I learned this weekend
Things I learned this weekend
Wield Chkdsk sparingly Do not set large hard drives (and especially not two large hard drives) to run an error check (chkdsk) on next reboot if: your PC only supports USB keyboards and your PC's bios does not support "Legacy USB settings" and you've never installed the Recovery Console to your PC. You'll have no way to cancel the chkdsk* and you'll have to wait several (like 12+) hours for it to complete. No, regular Safe Mode doesn't help, because it still tries to run chkdsk before booting the...
Posted: Jun 02 2008, 10:34 AM by Dan Hounshell | with 8 comment(s)
Filed under: ,