Hi,
ok, now I have
mastered that so far.
My app cames up,
showing a spash screen, a listbox reports the progress of an async running
application composer, I use the RX framework for that.
After finishing
the composition, the app navigates to a LoginView, after successful login, it
will show the BreakingNewsView, this is the next step.
What I found out
so far:
- RX is quite
good, but not so easy to master. There is no documentation and only bad samples,
exept the tutorials by LeeCampbell.
- To buid up a
wizard, the first View, usually a Window needs the section with the 'BridgeViewModelBehavior', all other
views making up the different stages of the wizard have to omit this section in
the xaml-file. Otherwise, each time a view appears, a new ViewModel is created,
which isn't useful in this situation. This cames up without any message, so you
have to be really careful!
- Use only the
line 'xmlns:n=http://nRoute/schemas/2010/xaml' to reference the nRoute framework, if you design the (raw) views
with VS2010, otherwise you run into designer-errors which make work really
hard.
- After
overriding OnLoaded in a ViewModel, derived from 'NavigationViewModelBase',
the code in OnLoaded was never called, issue reported to
Rishi.
- Try to use a code file called Mapping, which holds
all navigation and View-ViewModel mapping, maybe some day the app changes and
updates within the VM code files can break the code for other versions using
different technologies ...
- nRoute makes navigation really easy, I guess, its the
best you can get today.
With best regards
Gerhard