February 2009 Blog Posts
I’m a big fan of project references in Visual Studio. They make development very easy and you never have to fight stale DLLs and wonder why on earth the code you just changed isn’t being reflected in a referencing project. But I’ve always had a gripe about how project references are set up – they are ignorant of which solution they are part of.
The problem surfaces when you are dealing with large solutions – 20 or more project files. With that many project files, things start building pretty slowly, and it would be great to turn off or flat-out remove...
While sitting at PC 1, remote desktop into PC 2 Minimize the remote desktop session connected, lock your screen and go home From home, remote desktop into PC 2 From within that remote desktop session, remote desktop into PC 1 Within the nested remote desktop session to PC 1, click the taskbar icon for the remote desktop session to PC 2 Technorati Tags: Remote Desktop
One problem I’ve never faced in the projects I’ve worked on is a custom product catalog. I’ve often pondered how product catalogs are modeled. Recently, I started working on a little play project for myself where I am going to face this problem. In fact, one of the reasons I concocted this project for myself was so that I’d get tackle the problem. While watching Rob Conery’s MVC Storefront series though, I thought, maybe I should “do this in the open.” Let’s solve this problem in public. Let’s define a generic data model for custom product types. I...
Every time I need to prevent a value from going under a minimum or going over a maximum, I have to stop and think about how to use the Math API. If I want to supply a max value, I need to use Math.Min; and conversely, if I want to supply a min value, I need to use Math.Max. Given int value = 5, if I want to ensure that my value has a minimum of 10, I need to call: Math.Max(value, 10). Given int value = 500, if I want to ensure that my value has a...