Browse by Tags
All Tags »
Source (
RSS)
The slides and the source code for the session I gave at the Scandinavian Developer Conference today are available: Slides Source code This presentation is based on my article How to detect and avoid memory and resources leaks in .NET applications . You...
When coding applications using design patterns such as MVP (Model-View-Presenter) or MVVM (Model-View-ViewModel), you'll find yourself using data binding and the INotifyPropertyChanged interface all over the place. This means referencing properties quite...
Eric White has posted an interesting LINQ query on his blog that shows how to create a Hex Dump in something like 7 lines of code . Of course, this is not production grade code, but it's another good example that demonstrates the expressiveness of LINQ...
My session about memory leaks in .NET is over. Everything went well. Thanks Yann. Thanks to everyone who showed up. You can download the slides and the source code of the sample application (PhotoLight). Ma session sur les fuites de mémoire en .NET est...
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. Let's take an example...
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 . Here...
Ten years ago, I played with OLE Automation so we can write things such as the following, where Document represents an XML document: String name = Document.Bookstore.Book[1].Author.LastName; Document.Bookstore.Book[1].Author.LastName = "NewName"; The...
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...
After we published the code samples for LINQ in Action's first chapters in LINQPad a few weeks ago, the samples of three more chapters have just been added. These chapters cover LINQ to XML. Thanks Jim for doing the additional conversion. The code samples...
Do you know LINQPad ? It's a really simple but great tool for testing LINQ queries. Not only that, but it can be used to test all kinds of C# and VB code snippets. Another great thing about LINQPad is that it comes with code samples. Until now the integrated...
More Posts
Next page »