Dan Crevier's BlogIn search of a better name...Implications of the just in time nature of LINQ- March 26, 2008 I love LINQ! Ive found that much of the code I write involves manipulating collections in ways that can be very naturally expressed in LINQ. One interesting aspect of LINQ is that things are evaluated just in time as you enumerate over them. This can have a few unexpected consequences. Here are a couple of examples. Take the following test class: private class Test public int Value get; set; Now, think about the following code: ...http://blogs.msdn.com/dancre/archive/2008/03/25/implications-of-the-just-in-time-nature-of... Why does my computer need to tell me when I plug into the headphone jack- March 20, 2008 And, why is the icon so uglyhttp://blogs.msdn.com/dancre/archive/2008/03/20/why-does-my-computer-need-to-tell-me-when-... mstsc console is now admin in Vista SP1- March 20, 2008 I find it kind of annoying that Vista SP1 switches the console switch to admin. I don't understand why they had to break this and couldn't keep the old switch working. There's a bit more info at: Nick MacKechnie : MSTSC console switch in Windows Server 2008 and Windows Vista SP1http://blogs.msdn.com/dancre/archive/2008/03/19/mstsc-console-is-now-admin-in-vista-sp1.as... Yield and usings - your Dispose may not be called!- March 15, 2008 We ran into an interesting bug recently where a resource was being leaked because we weren't disposing of an IDisposable in some cases. Before I go any further I should state that the root bug is that the IDisposable hanging onto the resource should have implemented a finalizer, or even better, used SafeHandle. However it wasn't our code. We tracked down the bug to some code that looked like: static IEnumerable<Foo> MyEnumerable() using (new MyDisposable()) .http://blogs.msdn.com/dancre/archive/2008/03/14/yield-and-usings-your-dispose-may-not-be-c... Josh Zana's perf blog- March 12, 2008 One of my coworkers, Josh Zana, has started a perf blog. Josh has been the perf champion for the SkyDrive and FolderShare websites, and I've been really impressed by his passion about perf and the results. I hope to see lots of good posts coming up. Speaking of which, I realized I haven't had any technical posts for far too long. I need to get back to it!http://blogs.msdn.com/dancre/archive/2008/03/11/josh-zana-s-perf-blog.aspx FolderShare updates- March 12, 2008 Yesterday, we released a new version of the FolderShare web site and client. My team worked on the web site, which you might guess from the similarity to SkyDrive. In case you aren't familiar with FolderShare, it's an application that lets you sync files from multiple machines, peer-to-peer. I've been a happy FolderShare user for many years (since before Microsoft acquired it), and am glad to be a part of making it better. We did extensive usability testing on the core FolderShare scenarios and.http://blogs.msdn.com/dancre/archive/2008/03/11/foldershare-updates.aspx |