Browse by Tags
All Tags »
Tips (
RSS)
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...
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...
"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...
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...
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...
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...
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...
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...
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 »