Hello everyone,
I just started with Caliburn Micro and loving it so far. I'm not that familiar with MVVM (other than the theory). The biggest problem I ran into is passing complex objects. I'm using INavigationService for most of my navigation (which doesn't support passing complex objects).
I've looked around on the web and although several solutions were proposed a lot of them involved writing a lot of custom code and not all of them were looking very clean, so I'm thinking there must be a simpler way.
At the moment I'm using INavigationService service and passing my complex object as an xml string and deserializing it in the second ViewModel, but this is a bit dirty of course :)
Can anyone give or point me to a (noob friendly) explanation on how to do this ? Something straight forward ?
Thanks,
Jorn
I just started with Caliburn Micro and loving it so far. I'm not that familiar with MVVM (other than the theory). The biggest problem I ran into is passing complex objects. I'm using INavigationService for most of my navigation (which doesn't support passing complex objects).
I've looked around on the web and although several solutions were proposed a lot of them involved writing a lot of custom code and not all of them were looking very clean, so I'm thinking there must be a simpler way.
At the moment I'm using INavigationService service and passing my complex object as an xml string and deserializing it in the second ViewModel, but this is a bit dirty of course :)
Can anyone give or point me to a (noob friendly) explanation on how to do this ? Something straight forward ?
Thanks,
Jorn