Introduction In this article, I’m going to summarize my evaluation for .NET MAUI for use as frontend technology. This evaluation was done with Preview 14 and Release Candidate 1 versions. My apps have 95% of the code outside of the frontend project, with the frontend hooked up to events and commands. With an application designed […]
Archive | Code Quality
What can you do if ObservableCollection is limiting you?
The Problem or Puzzle A few weeks ago, as mentioned in this post http://highvaluecode.com.au/long-time-no-see/, I had to implement a filtering solution for an ObservableCollection. I will post about the solution itself, once I’ve published the code, but one part led me to an interesting problem. The solution for the filtering was basically two observable collections […]
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 […]
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 […]
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 […]
Creating Documentation for your Published Libraries
In the previous article, we published NuGet package on nuget.org. If you are publishing libraries, the value of the code is higher with included API documentation. XML Documentation Comments Usually, the problem with API documentations is that they are outdated because they refer to previous versions of the code. For this reason, an API documentation […]