[responsive-menu menu="HamburgerMenu"]
31 Mar, 2017

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 [...]

30 Mar, 2017

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 [...]

29 Mar, 2017

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 [...]

25 Mar, 2017

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 [...]

18 Mar, 2017

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 [...]

14 Mar, 2017

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, [...]

10 Mar, 2017

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 [...]

9 Mar, 2017

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 [...]

3 Jan, 2017

Barcodes on MS Band

Yes, I know: Microsoft has (it seems) dropped the Band (sad!). But as the article was 95% ready, I didn’t want throw it 🙂 There is a way to display a bar code on the Band. To do this, simply add a control of type BarCode (Surprise!) in a layout. This layout accepts the barcode type 39 and Pdf417 The best way to show something is to make [...]

27 Dec, 2016

Detecting Continuum mode

One of the specific feature of W10M, unmatched by other mobile OS is Continuum. What is the Continuum? Basically, this is a feature of some Windows 10 Mobile phones (the Lumia 950 and 950XL, for instance) that turns the phone into a sort of mini PC. It is a way to add secondary screen via a dock (HD-500, for example, that also allows to add a mouse [...]