Archive for May, 2009

HttpContext.Current.Request.UserHostAddress returns ::1

One would expect HttpContext.Current.Request.UserHostAddress to return the IP address of the client computer. On my developement machine this would be 127.0.0.1. The application I’m working on acts on this IP address, so it is fital to get the correct address. Since I’ve moved to Windows Server 2008 x64 on my laptop, I got ::1 as a [...]

More »

Space Shuttle software

I just finished reading this article about the developement team that makes the Space Shuttle software. There are a few simple and valuable lessons to be learned from their work: Design before you code Design and blueprint as much as you can before starting the actual programming. Also, make sure the client reads the documentation [...]

More »