In the article, titled How to easily customize WPF controls – and 5 reasons why you should not do it in a large project, we realized that it is easy to customize WPF controls from XAML code. In this article, we are going to start to build our own WPF control library. The code snippets […]
Building a Build Server – Uncovering Test Coverage
In a previous article, titled Building a Build Server – Executing Unit Tests as Part of the Build, we explored the details of setting up automatic unit test execution. Automatically executing unit tests during the build gives us confidence that our code is correct. Especially if we also: Write good unit tests, Do not ignore […]
How to easily customize WPF controls – and 5 reasons why you should not do it in a large project
In this article, we are going to explore the process of easily change the look and feel of a WPF control. There are valid scenarios for doing this and there are reasons why it should not be done in a large project. How to easily customize the control First things first, we need a project […]
Building a Build Server – Checking Code Complexity
During the previous week, we covered setup of two tools integrating code quality checks into Jenkins (dupFinder and InspectCode), both contained in the ReSharper Command Line Tools package. In this article, we are going to further improve the code quality check of our build server by adding a code complexity checker, CCM. CCM calculates a […]
WPF Wednesday
Hi There, In this series of articles, I plan to explore different interesting things that I have, had to, solve regarding WPF. I should tell you in forward, that some of them might not be the ideal solution because they will have some temporary problems as I’m doing the research at the same time. I […]
Building a Build Server – Finding Potential Problems in your Code
In last week’s article, we explored how to set up JetBrains’ dupFinder, which is part of the ReSharper Command Line Tools. In this article, we are going to set up the code inspection tool from the same package. In case you missed it, the tool setup can be found in the previous article, titled Building […]
Building a Build Server – Finding Duplicated Code Blocks in your Source
JetBrains, the company behind ReSharper, has a command-line tool package with some of the ReSharper features too. It is a free package to integrate quality analysis into continuous integration systems and can be downloaded from JetBrains’ ReSharper Command Line Tools page. In this article, we are going to integrate the dupFinder into the Jenkins build […]
Building a Build Server – Inserting Build Number into your Assembly Versions
In this article, we are going to create a build process, where the resulting assemblies contains the build number in the assembly version. Having this process in place helps to identify from where a problematic assembly came from. In .NET, the assembly versions are composed from four numbers, separated by dots. If you want to […]
Refactoring Resources
In his book, Refactoring: Improving the Design of Existing Code, Martin Fowler talks about refactoring methods and how to apply them to codes. The refactoring techniques are a serious of transformations that are designed not to change the behavior of the code, while at the same time improve the structure of it. In one of […]
Building a Build Server – Executing Unit Tests as Part of the Build
In this article, we are going to configure our Jenkins build server to execute the unit tests in the project during the build. Thus, if the unit tests fail but the code compiles, the build will be marked as unstable. The NUnit plugin, displaying the test results, also lets us to review test statistics compared […]