Database proramming rant
After a long while I am back to dealing with databases directly from ADO.NET. Guys, this is ridiculous. Any serious library designed like that would be heckled. This is what […]
After a long while I am back to dealing with databases directly from ADO.NET. Guys, this is ridiculous. Any serious library designed like that would be heckled. This is what […]
Our UI code is single threaded and UI classes use some shared static data. They work just fine, but the unit tests sometimes fail. Investigation led to threading issues. Visual […]
WPF defines a Freezable type that is a base class for “almost immutable” objects. They can be setup in read/write mode and then “frozen” which makes them immutable and thread […]
While working on XML serializers I wandered into the XSLT land. It turned out that XSLT support in .NET is not stellar. Well, you may already know that, but it […]
After a little discussion at work on which XML serializer for .NET to use, I decided to do a little research. The candidates were the regular XmlSerializer, the XAML serializer […]
Posted a larger and more structured article on the (somewhat surprising) capture rules for outer variables inside C# lambdas. http://www.ikriv.com/en/prog/info/dotnet/Lambdas.html
BTW, in earlier versions of Visual Studio (definitely VC++ 6, but maybe later) it was possible to add an arbitrary custom compilation step for a file, that worked just fine […]
Text Template Transformation Toolkit (T4) is a code generator built into Visual Studio 2008 and 2010. Yes, you have it now on your machine 🙂 It was proposed to me […]
I had an interesting bug the other day. I wrote a foreach loop along these lines: foreach (var entry in controlsByName) { entry.Key.SomeEvent += (sender,args)=>{ProcessControlName(entry.Value);} } Looks innocent enough, […]
For real. When you install a program that associates itself with image files, you may lose your thumbnails capability in Windows XP. It shows a giant icon of the program […]