[responsive-menu menu="HamburgerMenu"]

Dynamic ExpressionAnimation with Composition API

I talked about KeyFrame animations in a previous article. Composition API also has another type of animation: Expression animation. With this animation, we will not set keyframes, but a mathematical formula which will define our animation. For example “3 * x + 10”, where x is a parameter passed to the animation. We can use all the standard [...]

Spotlight animation with composition API

I’m having fun lately with Composition API. What is Composition API? These are APIs to manipulate the Visual Layer. It’s a graphic layer of lower level comparedto the Framework XAML. This allows optimized effects and animations The doc is good, you can see it here: I had [...]

Binding function with x:Bind

With the Windows 10 Anniversary update, there is a nice feature that has been added to the compiled binding (x: bind): there is a way bind to functions. Like this: Xaml: Code The function can also have parameters (parameters don’t need to be hardcoded, you can also pass another binding as parameter) XAML Code There is no check on the type [...]

Controlling Imaging SDK with Surface Dial

A few months ago, I had the chance to receive a Microsoft Surface Dial. I took the opportunity to make a small sample project. It took me very long time to finish it, sorry The idea I had is to control the Imaging SDK ( with the Dial. To add saturation and adjust the level, for example. Or then [...]

Cross platform unit tests with mock

Following my post on the framework SimpleStubs for UWP Unit tests, I’ll show how to do a cross platform unit test. The idea is not to test the PCL in a “neutral” way , but test it on the 3 platforms supported by Xamarin (Android, iOS and UWP). All by reusing the same code for the tests, of course. Creation of projects For iOS and [...]

Use SimpleStub as mocking framework for UWP unit testing

I looked lately for UWP mocking framework. You can’t say there are lot of choices. Mainly from the fact that there is no way to dynamically generate classes (as most of the framework mocking frameworks do). Therefore, you have to use another way. Like creating mock classes during the build phase. I stumbled upon an open source framework, SimpleStubs, [...]

Create NDepend rules with technical debt

Following the article on technical debt in NDepend, I thought it would be good to show that you can create yourself custom rules with a value for technical debt. NDepend uses CQLinq to create its own rules. The language is based on the Linq (who would have though?), so it is familiar. As example, I will create a rule that checks at if there are no [...]

Calculating technical debt with NDepend

For once we leave development with a bit of devops (in the broad sense). NDepend ( is a great tool that allows quality control on the code. It does not scan the source code itself, but make an analysis of the executables or libraries generated. He gives us an amount of info, like complexity, graph of dependencies, rules and best practices [...]