Dec 2, 2015
Today I was fixing mystical NullReferenceException. Based on stack trace, during list sorting using standard .Sort() method with custom comparer, .Net framework passed null object to the comparer class. Initially I thought list has null element, thus causing NullReferenceException, however it turned out to be a little bit trickier.
Continue reading »
Nov 20, 2015
Memory dump is a snapshot of process memory written in file. They are useful in many ways to troubleshoot freezes, performance issues or crashes. To get dump manually you have to be careful if you are running 64 bit OS and your process is 32 bit.
Continue reading »
Nov 5, 2015
4K screens are becoming less exotic and not that crazy expensive these days, so I’ve purchased one. There are tons of reviews and discussion about digital interfaces, cables and video card requirements for gaming, but I had hard time trying to figure out video card requirements for desktop and finally learned it hard way: screwed my first config.
Continue reading »
Oct 30, 2015
Based on MSDN article we can use .GetNextResult or .Translate methods to read multiple stored procedures data. Up until recently I used to think they both offer similar performance level. It turned out they are very different.
Continue reading »
Oct 14, 2015
Recently I investigated one bottleneck in an application and it turned out reason was quite simple: unexpected JIT compilation because of improper AutoMapper usage
Continue reading »