Windows Phone 7 Developer Tools CTP – simple app and first impressions

Very pleasant XAML editing/design experience, unbearable deployment wait time. Creating the project, opening the designer and adding/changing a few lines – initial impression was definitely positive – the XAML designer updates immediately, IntelliSense is working as expected. I even tried dragging something from the toolbox (something I haven’t in a while with WPF, knowing it’s…


How to receive a full GC notification with .NET 4.0

While scanning GC class members in IntelliSense with VS 2010 I noticed a few that looked unfamiliar. Turns out new feature allows receiving full GC notifications using the following methods: GC.RegisterForFullGCNotification(..) GC.CancelFullGCNotification(..) GC.WaitForFullGCApproach(..) GC.WaitForFullGCComplete(..) This is how MSDN explains the main user scenario for these notifications: There are situations in which a full garbage collection by…

1

Data and UI Virtualization in WPF

  The topic of virtualization is somewhat complex but at the same time pretty well covered on MSDN and blogs. I am quite sure I won’t be able to contribute anything new to the general pool of knowledge on this topic. Instead I would like to summarize some of the key points I’ve recently learnt…

2

DispatcherTimer and Managed Memory Leaks

Recently, while diagnosing a managed memory leak,  we found a scenario where a running DispatcherTimer can cause an object to be ineligible for garbage collection.Here’s how it can happen: when a DispatcherTimer is started, it is adding itself to _timers list of the current Dispatcher. So the Dispatcher is holding to the DispatcherTimer and the…


New Threads Window in Visual Studio 2010

Hi, my name is Alex Bulankou and I’m a dev on Visual Studio Debugger team. This is my first post and I’m hoping the screenshots will compensate for the boring rest. Anyway, if you, like me, need to routinely debug multi-threaded applications and if you had a chance (and bandwidth) to download Visual Studio 2010 Beta1, you…