Tuesday, December 20, 2005

DNS Caching and Windows XP

I recently returned from yet another trip to China (this time with my wife :) and plugged the laptop back into the work network. When I have the laptop in the office I usually use Remote Desktops to connect to it. When I do this I also try to use the wired connection vs. the 802.11b as it is more responsive. What I noticed was that even though the new IP address for the NIC was registered with the DNS server, it was using the old IP Address on my desktop. The effect was that the machine was unreachable.

Using our trusted friend google I found this article to explain how to adjust the DNSClient on the local workstation.

Friday, December 2, 2005

I saw this up on MSDN. Its worth trolling the MSDN Mag site periodically to see what articles are there. I used to, and still do, troll the brick and mortar Barnes and Noble nearby to see the magazines. I no longer see the MSDN Magazine there anymore, so I've switched to reading it on the web from time to time.

Ten Essential Tools: Visual Studio Add-Ins Every Developer Should Download Now -- MSDN Magazine, December 2005

I used the CodeSourceToHtml AddIn to produce the code below. I've been looking for a Source to HTML tool since I started blogging!


public delegate void ProgressEventHandler(object sender, ProgressEventArgs args);
 
public class ProgressEventArgs : EventArgs
{
    private string _probeName;
 
    public ProgressEventArgs(string probeName)
    {
        _probeName = probeName;
    }
 
    public string ProbeName
    {
        get
        {
            return _probeName;
        }
    }
}

Enjoy!