Today I took a look at the new covariance and contravariance features of .NET 4. In this post I will explain the theoretical background and will provide some practical examples.
The code snippets cover most of the features of CLR 1 to CLR 4.
Continue reading ...
During my experiments with Android, I have created a Yahtzee application with shake detection.
In this post I will give you an overview of the application and show you how to implement shake detection.
I also provide the full source code and an APK file, so you could install the game on your phone.
Continue reading ...
The Android market share is continuously growing. So I decided to create a Yahtzee application to get some experience in android development. In this post I will compare Windows Phone 7, which has recently been launched, to the Android platform from a developer perspective.
Continue reading ...
Unity is a well known dependency injection container. Custom extensions can be created to extend its functionality. The download of Unity contains an extension for interception.
In this post I will show you, how interception can be used for separation of cross-cutting concerns.
Continue reading ...
Did you ever search an application in your start menu? Even with the search bar of Windows 7 or Windows Vista it takes some time to select the right shortcut.
In this article I will show you a tool, which enables you to start your commonly used programs by speech.
Continue reading ...
An article about the Piwi Framework, written by Christian Grobmeier and myself, appeared in the latest edition of the PHP Magazin.
The article is a basic introduction to the framework. It covers the main concepts and features of Piwi and explains how you can use the framework to create a website.
A few weeks ago I blogged about a problem concerning coverage of unexecuted code in PartCover. The problem was that the report generated by PartCover does not contain any coverage information about uncovered methods. That implicated, that my tool ReportGenerator calculated a wrong coverage quota, since the lines of unexecuted method were considered to be 'not visitable'.
I claimed that it would not be easy to create a workaround for the problem, but actually it isn't that difficult, if you use the right tools.
Continue reading ...
During the last weeks I received several emails pointing me to a potential issue in my tool ReportGenerator. The problem is that methods that have not been executed during a test run using PartCover, are marked as 'not visitable'.
I decided to take a closer look at the problem. In this post I will explain how ReportGenerator works and why it is not easy to create a workaround for the deficiency of PartCover.
Continue reading ...