This section begins with a brief note about its inclusion. I did not intend to show the abstraction of the navigation service. When I began work on the sample for this chapter, however, and I reached the point of needing to navigate from the sign-in page to the timeline page, I felt that it would make for a nice demonstration of a custom testable navigation service.
The custom navigation service abstracts the navigation mechanism provided by the
System.Windows.Controls.Frame component or the
System.Windows.Navigation.NavigationService (available via the
NavigationService property of the
INavigationService interface is used to navigate in a UI technology agnostic manner, and it allows the ...