I am thinking about using a generic version of Thread.VolatileRead and Thread.VolatileWrite. The code is similar to existing one (actually there are plenty of overloads) with the difference […]
Meet “Go To Implementator” DXCore plugin for Visual Studio
The problem One of the biggest annoyance when doing unit-test-friendly projects is that you have to deal with interfaces much more than you usually would. This isn’t bad […]
Adjusting DevExpress’ XtraTabControl’s page padding
Look at the picture below, it is a DevExpress‘ XtraTabControl (WinForms) with a single page hosting a normal Button. Both XtraTabControl and Button are set as Dock = […]
Jinxing your application
If you ever wrote a multithreading application you should understand how hard is to get it right. If you don’t understand it then your application most probably isn’t […]
Things that you didn’t know
I am working on a some sort of file cache system lately and I’ve encountered a bizarre error. When a certain file representing an image had to be […]
What’s new in the BCL in .net 4.0 beta 2
Check out this post about what’s new in the BCL in .net 4.0. beta 2. As you can see there is a good amount of timesaving functionality. My […]
Visual Studio 2010 beta 2 and .net 4.0 beta 2 available on MSDN
Both Visual Studio 2010 beta 2 and .net 4.0 beta 2 are available for MSDN subscribers and on Wednesday for everybody. Perhaps an important feature is that a […]
Dealing with iterations over null lists in LINQ to Objects
Problem If you used LINQ to Objects you have certainly come across iterations over null values resulting in an ArgumentNullException being thrown at you. See this example: int[] […]
The slides and code from my “Making asp.net mvc applications strong typed” presentation
Yesterday I held a presentation (as the part of Bleeding Edge 2009 conference) on how to make ASP.NET MVC applications strong typed by using CodeSmith and CodeRush (actually […]
Reversing for loops with CodeRush
Imagine you have to delete a bunch of items from a list, something like this: List<int> items = new List<int>();…for (int i = 2; i < items.Count; i++){ […]