Use Caliburn Micro with the normal flow of application.

Topics: Framework Services, Getting Started, UI Architecture
Nov 28, 2013 at 5:11 AM
Edited Nov 28, 2013 at 5:11 AM
Hi,

Have anyone used caliburn micro for Windows Phone? Actually I want to use caliburn framework within the normal flow of application. The reason I want to do this is that I am having a third party open source library which is totally build using caliburn framework and I want to implement that code as it is in my application.

I am confused with certain things that How to implement bootstrapper and how use navigation in that case because these components needs to be initialized during the launch of application.

Please suggest me with any simple scenario or example if anybody knows.

Thanks
Nov 30, 2013 at 4:34 PM
Edited Nov 30, 2013 at 4:42 PM
I use Caliburn for all my apps at present Desktop/Win App/Windows Phone, it does everything that I need... Can you explain your confusion?

windows phone navigation is done through INavigationService which is registered with the IoC automatically with a call to container.RegisterPhoneServices(); in the configure method of your bootstrapper.

then in your viewmodels' constructor you will have INavigationService navService



public class SomeViewModel{
private static INavigationService _navService;

public SomeViewModel(INavigationService navService){
   _navService = navService;
}
}