Monthly Archives: May 2010

Parallel LINQ (PLINQ)

LINQ is getting an upgrade with .Net 4.0. Features are being added that allow us to easily execute queries in parallel. It gives us another reason to drop those odious for and foreach statements and use LINQ. .Net 4.0 introduces … Continue reading

Posted in .Net, C#, Linq | Comments Off on Parallel LINQ (PLINQ)

WPF LL: TextBoxes that just keep growing

This problem was probably discovered accidentally and shows me once again how important it is to have non-technical and new people testing your programs. The problem encountered was that the TextBoxes on one of our Windows would just keep expanding … Continue reading

Posted in srt, WPF | 4 Comments

WPF LL: XML Binding and Data Converters

In the project I’ve been working on, we’re binding a bunch of controls to an XML document. In our bindings, we are extensively using XPath. One of the things that did not occur to me immediately, and seems very obvious … Continue reading

Posted in .Net, WPF | Comments Off on WPF LL: XML Binding and Data Converters

WPF Lessons Learned – Use ContextMenu.Items over ContextMenu.ItemsSource

I’ve been working on a WPF project for a client and have learned a lot in the process. I’d like to touch on some of these things. This first post will be about creating a ContextMenu. I’ve had to create … Continue reading

Posted in .Net, C#, WPF | Comments Off on WPF Lessons Learned – Use ContextMenu.Items over ContextMenu.ItemsSource