It's been told many times that Windows Phone 8 is based on WinRT instead of Silverlight. But after installing the SDK, I find that the code looks more Silverlight than WinRT.
eg.
1. Namespace definition:
In Windows 8: xmlns:local="using: PhoneApp1"
In Windows Phone 8: xmlns:local="clr-namespace: PhoneApp1"
2. Page navigation"
In Windows 8: this.Frame.Navigate(typeof(BlankPage));
In Windows Phone 8: this.NavigationService.Navigate(new Uri("/BlankPage.xaml", Urikind.Relative));
Am I missing something?
eg.
1. Namespace definition:
In Windows 8: xmlns:local="using: PhoneApp1"
In Windows Phone 8: xmlns:local="clr-namespace: PhoneApp1"
2. Page navigation"
In Windows 8: this.Frame.Navigate(typeof(BlankPage));
In Windows Phone 8: this.NavigationService.Navigate(new Uri("/BlankPage.xaml", Urikind.Relative));
Am I missing something?
Last edited: