title: advantages to put code in app.xaml.cs in wp7
body: <p>I am wondering if there are any advantages to putting the code into <code>app.xaml.cs (Application_Launching)</code> compared to the code I've put into the <code>mainpage.xaml.cs (MainPage())</code> section.</p>