How to enhance debugging in Visual Studio with just one simple step

During the debugging session, I always had problems with complex structures. Preview most interesting properties were irritating, we need to expand a variable. In most cases, I tried to override…

Read more

Null pointer exceptions and warnings

Simple code I am developer so let's start with following C# code: public static void Main() { var sampleList = GetSamples(); if (sampleList.FirstOrDefault().StartsWith("I")) { Console.WriteLine("First element starts with…

Read more

Floating versions in Nuget

Asp.NET 5 RC At least ASP.NET 5 is production ready. I know that current state is release candidate, but be honest it means that it is ready. Maybe…

Read more

Finding bad dependencies using PowerShell

Difficult upgrade From time to time we want (or have) to upgrade our old application to a new version of framework. Usually for core libraries it goes quite fast but…

Read more

Is User-Agent mobile, desktop or maybe TV?

When we design new layout, we need to find out what kind of users are using our website. The easies way is to parse User Agent string, but it isn't…

Read more

Get Firebug logs from Selenium tests

The problem Selenium test are difficult to debug, especially when they are run on CI server. To diagnose why a test failed, sometimes we need something more than a simple…

Read more