Only one MessageDialog may be displayed

On Windows 8, a call to “await aMessageDialog.ShowAsync()” can only be made once, otherwise System.UnauthorizedAccessException will be thrown (E_ACCESSDENIED 80070005). This is a helper method to display dialogs although it’s not thread-safe....

Polymorphic test setup with template method

We had a kind of duplication in our tests that we didn’t know how to deal with. The refactoring “Introduce Polymorphic Creation with Factory Method” explained by Joshua Kerievsky in his brilliant book “Refactoring to Patterns” gave me the...

Reflexiones tras una emotiva CAS2015

No habia participado en una Conferencia Agile Spain desde el 2010 que fué en Madrid, la primera. En aquel entonces iba ilusionado con 50 ejemplares en mi maleta de nuestro flamante libro de TDD, que colocamos en el stand de Plain Concepts porque amablemente me...

Learning with Peter

Last week I was lucky to host my good friend Peter Kofler in his visit to Gran Canaria, where he came to facilitate the Glodal Day of Code Retreat and also to work together a couple of days in our biggest project at the moment. We’ve been working in the same...

Everyone is potentially a teacher

In order to learn from others I must trust them and open my mind enough to see them as potential teachers even if  they are – apparently – less experienced than me in certain knowledge area. The lessons to be learned may not necessarily come from the...

EventBus in a Windows 8 app

How to communicate different pages of a Windows 8 App? How to manage the life cycle of the pages? Pages are instantiated by the framework when asked to navigate: *.xaml.cs: frame.Navigate(typeof(MyPage)); It will be a new instance of MyPage everytime unless the pages...