Fabrice's weblog
Tools and Source
-
TechDays 2010 session slides and source code
My session about memory leaks in .NET is over. Everything went well.
Thanks Yann. Thanks to everyone who showed up. -
My session at TechDays France 2010: How to detect and avoid memory and resources leaks in .NET applications
This year, I'll give a session during the French TechDays about memory leaks in .NET. This session is based on my article and will include a demo with a sample application and debugging/profiling tools.
-
Memory leaks with Infragistics NetAdvantage Windows Forms edition
When I finalized my article about memory leaks, I removed a part about Infragistics NetAdvantage. Here it is. It may be useful to some of you. Warning: It's based on NetAdvantage 7.3, and may or may not apply to recent versions.
-
MVVM frameworks galore
The MVVM pattern (Model-View-ViewModel, also known as M-V-VM, the PresentationModel pattern, or the ViewModel pattern) appeared a long time ago now, but it took some time before it became more documented and well known. Over the last few months, MVVM boomed, especially with an explosion of dedicated frameworks. It's difficult to know what each framework proposes and which one to choose. Fortunately, Jeremy Alles has compiled pointers to all the MVVM frameworks available today. He even lists the main features of each framework.
-
The core WPF classes
Jeremy Alles proposes a nice tour of the core WPF classes. It comes with a class diagram and quick descriptions.
I'll keep a link to it here for reference. It's the kind of document I'll refer to several times. -
New article: How to detect and avoid memory and resources leaks in .NET applications
My new article, which I've been preparing over the last few months, is now available. It's about memory and resources leaks in .NET.
You'll find it in English on MSDN and in French on my site. It's also available in PDF in English and in French. -
fivesecondtest, quick usability testing
fivesecondtest.com, "A simple online usability test that helps you identify the most prominent elements of your user interfaces."
-
New LINQ tools category on SharpToolbox.com
I've just moved the LINQ tools referenced on SharpToolbox.com to a new dedicated LINQ category.
20 tools and providers are listed for the moment. I'll add more shortly. -
XMLAuto version 2010
Ten years ago, I played with OLE Automation so we can write things such as the following, where Document represents an XML document:
-
Forcing event unsubscription
Given my own experience, I'd say that events are the main source of leaks in .NET. They deserve double- and even triple-checks. Each time you add a subscription to an event in your code, most likely with +=, you should worry about the consequences and ask yourself whether you need to add a -= somewhere to unsubscribe from the event. If you have to, do it immediately before you forget about it. Often, you'll do that in a Dispose method.