Fabrice's weblog

Tools and Source

News

My .NET Toolbox
An error occured. See the script errors signaled by your web browser.
No tools selected yet
.NET tools by SharpToolbox.com

Read sample chapters or buy LINQ in Action now!
Our LINQ book is also available on AMAZON

.NET jobs

Emplois .NET

transatlantys hot news

Contact

Me

Others

Selected content

Browse by Tags

All Tags » Tips (RSS)
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 DotNetGuru.org . It's also available in PDF in English and in French...
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: String name = Document.Bookstore.Book[1].Author.LastName; Document.Bookstore.Book[1].Author.LastName = "NewName"; The...
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...
The "Error creating window handle" exception and the Desktop Heap
"Error creating window handle" When a big Windows Forms application I'm working on for a client is used actively, users often get "Error creating window handle" exceptions. Aside from the fact that the application consumes too much resources, which is...
Fix for Visual Studio 2008 crash with XAML files
Does your Visual Studio 2008 SP1 crash when you open some XAML files? It started to happen to me, for some unknown reason. What I saw was Visual Studio completely disappearing after opening a XAML file, with the devenv.exe process being unloaded. The...
LINQ Deep Dive: great LINQ tips
Zeeshan Hirani who already offered us a 500-page Entity Framework learning guide , now publishes great LINQ tips in the first part of his LINQ Deep Dive articles . These tips are not the usual introductions to LINQ features you can find elsewhere. You...
UI design patterns libraries
Over the time, I've collected a set of UI design patterns libraries. Some of them present patterns with descriptions and advices, others collect screenshots of UI designs. With all the available sites, you have a lot of patterns to tap into for your sites...
Null Object design pattern instead of returning null
This is just a quick post to make a plug for the Null Object design pattern. I don't think that it's used a lot, but it's useful to avoid a lot of issues. It's very common to create or use methods and properties that return null . That's not surprising...
Converting LINQ queries from query syntax to method/operator syntax
Yesterday a reader of the LINQ in Action book posted an interesting challenge on the book's forum . It's interesting enough to be reposted it here. The request was to convert a LINQ query expression (query syntax) to a query operator call chain (method...
Life changing XAML tip for Visual Studio
If you've worked with XAML in Visual Studio 2008 (SP1), either for WPF or Silverlight work, you know how painful it is. Of course, the first thing to do is to get rid of the design view . It's slow as a snail and it's pretty useless anyway. Make yourself...
More Posts Next page »