<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Silverlight Application Exit</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Silverlight Application Exit</description>
  <pubDate>Thu, 15 Oct 2026 15:35:37 -700</pubDate>
  <lastBuildDate>Mon, 27 Jun 2011 15:13:53 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2796</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Silverlight Application Exit : I&amp;#039;ll have to try that out....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11126#11126</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2796<br /><strong>Posted:</strong> 27-Jun-2011 at 3:13pm<br /><br />I'll have to try that out. Thanks, Mark!]]>
   </description>
   <pubDate>Mon, 27 Jun 2011 15:13:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11126#11126</guid>
  </item> 
  <item>
   <title>Silverlight Application Exit : Try doing it from the Application.MainWindow.Closing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11125#11125</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 2796<br /><strong>Posted:</strong> 27-Jun-2011 at 3:06pm<br /><br />Try doing it from the Application.MainWindow.Closing event, you can then execute your required code.]]>
   </description>
   <pubDate>Mon, 27 Jun 2011 15:06:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11125#11125</guid>
  </item> 
  <item>
   <title>Silverlight Application Exit : Rick,  From my research, it...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11111#11111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2796<br /><strong>Posted:</strong> 27-Jun-2011 at 10:17am<br /><br />Rick,<br><br>From my research, it looks like this is a limitation with Silverlight, and thus is something that we can't handle in DevForce. It looks like it has to do with how calls are queued inside the UI thread. Have you tried putting your async code into a separate thread and locking your current thread until that has completed? I don't think that the application can exit until the UI thread is no longer locked. In your case, you may want to combine this with a MessageBox, telling the user that the application is exiting and that it may take a moment, rather than letting them think it's timed out.<br><br>Yours,<br>Robert]]>
   </description>
   <pubDate>Mon, 27 Jun 2011 10:17:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11111#11111</guid>
  </item> 
  <item>
   <title>Silverlight Application Exit : I would like to perform a Session...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11102#11102</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1090" rel="nofollow">rickadams</a><br /><strong>Subject:</strong> 2796<br /><strong>Posted:</strong> 24-Jun-2011 at 10:00am<br /><br />I would like to perform a Session Logout before my Silverlight OOB application exits. I need to handle both the Close Button event as well as the user closing the Application from the taskbar. The DevForce Async calls are not executed in Application_Exit. Because I am also persisting the Entity managers to Isolated Storage in Application_Exit the Session Logout update is actually performed the next time I startup the application and the EntityManager is restored from IS. is there any way I can do this Session Logout update before the Application actually exits. <DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Rick Adams</DIV>]]>
   </description>
   <pubDate>Fri, 24 Jun 2011 10:00:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2796&amp;PID=11102#11102</guid>
  </item> 
 </channel>
</rss>