Learning about Windows Phone 7 has also been a while, and some good points of knowledge have been sorted out, and the following series will share 10 windows Phone 7 tips per blog and provide offline documentation downloads.
1. Windows Phone 7 Applications cannot run in the background and do not support multitasking "but we can use the tombstone mechanism tombstoning"
2. Windows Phone 7 Application XAP package Max Run is 400MB
3. Set the application's ICO icon: Right-click the item-set icon for your own picture can
4. Replace the default Windows Phone 7 splash screen: Replace the splashscreenimage with your own picture
5. Set startup page for Windows Phone 7 application: Set in Wmappmanifest.xml
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>
6. Windows Phone 7 page navigation supports the use of aliases, using the following methods:
To configure a matching alias in App.xaml, add namespaces
Configure the matching tags as follows:
Then add the following code in the app () method behind the code App.xaml.cs:
Then we can use the alias in the XAML code to find the specific page.