First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

A few months ago I released a rough first version of an ASP.NET control to display text-links served by LinkLift.

Since then the control became the "de-facto" official control for ASP.NET (Italian, German, French and Spanish).

Today I found quite a subtle bug that never showed up before (since I never really had the control on my site for more than a few hour): I used the FileSystemInfo.CreationTime to keep track of the last time the local copy of the XML was saved. But the CreationTime is the first time the file was saved, because all the subsequent saves are only treated as updates, and the CreationTime is never changed again. This caused the control to download the XML definition every time it was loaded. So I changed it to FileSystemInfo.LastWriteTime, which is, as the name itself tells, the last time the file has been saved.

And the code for this control is also available on CodeClimber.Commons, my personal repository on Google Code.

posted on Monday, September 10, 2007 11:57 PM
Comments have been closed on this topic.