What’s New in Windows Phone 8.1- App Lifecycle and Navigation (Part 3 out of 5)

Wednesday, April 2, 2014

This post focuses on App Lifecycle and Navigation changes in WP8.1 XAML (aka as WinRT or Windows Phone Sore apps) apps and how they different from SL8.1 apps.   App Lifecycle WP8.1 apps very similar lifecycle to Windows Store apps. This lifecycle is somewhat different from SL8.1 apps that mostly follows the WP8.0 apps lifecycle. Let’s review the WP8.1. lifecycle: 1. User taps app icon (in apps list or main screen) to run the app. Similarly to Win8.x the app is launched and Application.OnLaunched event is raised. As in Win8.x, it has LaunchActivatedEventArgs that helps to understand how the...

Silverlight 3 Quick Tip #6: Navigation Framework and Uri Routing

Thursday, April 2, 2009

Silverlight 3 introduced the Navigation Framework and URI Routing features. Today I’ll show how to use those features. To use navigation features you could either create a new “Silverlight Navigation Application” or simply add relevant references to standard “Silverlight application” In case of standard “Silverlight Application” you need to add reference to “System.Windows.Controls.Navigation” assembly and relevant XAML introduce namespace: xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" To use the navigation feature, simply add new Frame to your XAML page. Frame could have default content, specify Journal usage (own history storage or integration within browser’s history), raise navigation related events. <navigation:Frame x:Name="frame" Source="/Pages/DefaultPage.xaml" ...