<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx</link><description>The app lifecycle model in Windows 8 means that users no longer need to manage which apps are running. It also makes it easy for developers to craft a great user experience that doesn’t affect the device’s battery or performance when the app is in the</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10314521</link><pubDate>Mon, 04 Jun 2012 04:07:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10314521</guid><dc:creator>Manoj</dc:creator><description>&lt;p&gt;How does Windows 8 keep track of active application and which service or component in Windows 8 controls application lifecycle?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10314521" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10299117</link><pubDate>Mon, 30 Apr 2012 15:02:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10299117</guid><dc:creator>David A Nelson</dc:creator><description>&lt;p&gt;&amp;quot;Sometimes it’s best to start fresh...In your resume handler, check how old the current article is to determine if it is now stale. If the article is too old, display your default home view instead of the old article.&amp;quot;&lt;/p&gt;
&lt;p&gt;For the love of your users, NEVER do this! As the application developer it is highly unlikely that you will be able to accurately determine when any content is &amp;quot;too stale&amp;quot; for the user. The Safari mobile browser is a prime example; sometimes (I have yet to determine what criteria it uses) when you switch to the browser, the page reloads. But if I happen to be in a place where I have limited or no connectivity, the page fails to load; so that article that I was in the middle of reading, and could have continued reading since it was already loaded in my browser, is now inaccessible.&lt;/p&gt;
&lt;p&gt;This is a great example of the shift of the entire Microsoft ecosystem away from user control. The USER should decide when content should be refreshed, not the developer. Give the user a refresh control; even give them a warning that the content is outdated if you want. But NEVER remove content that that the user has loaded because you think the user won&amp;#39;t want it anymore; let the user tell you when to do that.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10299117" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10298900</link><pubDate>Sun, 29 Apr 2012 21:04:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298900</guid><dc:creator>Slawa Konkevych</dc:creator><description>&lt;p&gt;Very important post for me as I try to figure out how the lifecycle of Metro Apps is managed.&lt;/p&gt;
&lt;p&gt;@Adam, I&amp;#39;m wondering whether an API exists to monitor and control Metro App externally?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298900" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10295099</link><pubDate>Wed, 18 Apr 2012 20:50:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10295099</guid><dc:creator>Hosam Kamel</dc:creator><description>&lt;p&gt;Very clear and important for Metro developers &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10295099" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10295089</link><pubDate>Wed, 18 Apr 2012 20:09:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10295089</guid><dc:creator>Jeff  Sanders</dc:creator><description>&lt;p&gt;@Andrew, when you are debugging an app in the tool bar you will see a set of 3 icons - a VCR style Pause, Play and Stop button. &amp;nbsp;Hover over those with a mouse and can see they are &amp;#39;Suspend&amp;#39;, &amp;#39;Resume&amp;#39; and &amp;#39;Suspend and shut down the application&amp;#39; respectively. &amp;nbsp;-Jeff&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10295089" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10294618</link><pubDate>Tue, 17 Apr 2012 18:44:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10294618</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;@Adam, could you please point me to the right &amp;quot;debugging controls&amp;quot; in VS11 (I&amp;#39;m lost)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10294618" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10293263</link><pubDate>Thu, 12 Apr 2012 17:48:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10293263</guid><dc:creator>Adam Barrus [MSFT]</dc:creator><description>&lt;p&gt;Paul:&lt;/p&gt;
&lt;p&gt;Thanks for your comment. Detailed information about how Metro style apps can run code when in the background is available in the Introduction to Background Tasks whitepaper, which you can find at &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink/?LinkId=227329"&gt;go.microsoft.com/fwlink&lt;/a&gt;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10293263" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10293254</link><pubDate>Thu, 12 Apr 2012 17:36:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10293254</guid><dc:creator>Adam Barrus [MSFT]</dc:creator><description>&lt;p&gt;Mike: &lt;/p&gt;
&lt;p&gt;Thanks for your comment. Visual Studio has controls in its debugging experience that allow a developer to suspend, resume and terminate a Metro style app. You can use this today with the version of Visual Studio that shipped with the Windows 8 Consumer Preview. Using these controls, you can simulate these important app lifecycle events in your development environment and in your app. It is important to note that an app under debugging in Visual Studio will not receive these app lifecycle events unless they are triggered by the included controls mentioned previously.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10293254" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10292794</link><pubDate>Wed, 11 Apr 2012 18:41:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10292794</guid><dc:creator>Paul</dc:creator><description>&lt;p&gt;I&amp;#39;m puzzled by the Suspend mode. &amp;quot;In general, Metro style apps stop running when the user switches to another app. Windows suspends your app when it is not in the foreground.&amp;quot; How is this going to work for programs which often do useful work in the background? Play music? New e-mail notification? Network monitoring? Are these exceptions to the &amp;quot;in general&amp;quot;?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10292794" width="1" height="1"&gt;</description></item><item><title>re: Managing app lifecycle so your apps feel "always alive"</title><link>http://blogs.msdn.com/b/windowsappdev/archive/2012/04/10/managing-app-lifecycle-so-your-apps-feel-quot-always-alive-quot.aspx#10292455</link><pubDate>Tue, 10 Apr 2012 23:48:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10292455</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Great, great post. Really clear and really important for developers to understand from day 1 :-)&lt;/p&gt;
&lt;p&gt;One thing I&amp;#39;d add is that it would be good if you could mention how the debugger plays into all of this because I think it confuses a lot of people who are new to these apps.&lt;/p&gt;
&lt;p&gt;Mike.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10292455" width="1" height="1"&gt;</description></item></channel></rss>