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 » Source (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...
LINQ in Action XML samples now in LINQPad too
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...
LINQ in Action samples in LINQPad
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...
Localization in WPF
Several techniques exist for localizing WPF applications. I have yet to study them before making a choice. Here are some resources I've collected: http://wpflocalization.codeplex.com WPF Globalization and Localization Overview (MSDN) http://www.codeproject...
ForEach or not ForEach, that is the question
In LINQ in Action , we discuss about the missing ForEach query operator. This is in Chapter 5 "Beyond basic in-memory queries", more precisely in section 5.2.2. There, we indicate that Eric White suggested this operator in his functional programming tutorial...
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...
Clippy revival 1.0
I'm currently in Montréal, between two of my sessions . I'd like to take advantage of this break to introduce a little friend of mine: Clippy! Ok, Clippy is probably not new to most of you... Except that this time, it is a brand new Clippy. This new Clippy...
XAML markup formatting in Visual Studio
I'm using WPF these days, and so reading and writing a lot of XAML markup. As with any code or text, reading and navigation are made easier with a clean format. In my XAML files, I've been putting the XML attributes aligned vertically, below their XML...
More Posts Next page »