Blog Posts for: Mvvm

Synchronising collections using ReactiveUI

20 March 2013

With the announcement of ReactiveUI 4.5 and the fact that it now works with the Xamarin products as well, I have decided to give it a try and see if it gives me better cross platform capabilities than Caliburn Micro (which has no support for the Xamarin products at all). My first task was to try and get my head around Reactive Extensions, and for that I found the website Introduction to Rx extremely useful.

Split Views and ViewModels in Caliburn Micro

25 February 2013

As mentioned in my previous blog post I am developing a Windows Store application using Caliburn Micro (CM) in which I have the views and view models split into different assemblies. CM is largely convention based and therefore expect things is certain places. One of these conventions is the way in which CM locates views and view models. Let’s say that we have an application with a root namespace of MyApplication and our views are located in the namespace MyApplication.

Caliburn Micro: Beware the default Windows Store app templates

21 February 2013

I was recently dumbfounded by an apparent issue with Caliburn Micro in a Windows Store application being unable to locate the view model for a view. The symptoms was that the application navigated correctly to my view, but the data from the view model was not being displayed on the page. What complicated matters a bit more was that my views and view models were located in different assemblies and non-default namespaces, therefore I immediately suspected the problem was located there.

Passing custom parameters to Caliburn Micro actions

18 February 2013

I have been working with Caliburn Micro (CM) for the past month, using it in a new Windows 8 application I am busy developing. CM is largely convention based but it does allow you to override and customize a lot of those conventions as well as provide other points of extensibility. The initial solution I recently had a scenario where I had a ListView displaying the a list of items.