Skip Navigation LinksHome / News / View News

SilverBullet #5 – System.Windows.ApplicationServiceContext

+ Add to SilverlightShow Favorites
0 comments   /   posted by Timmy Kokke on Jul 02, 2009
(1 votes)

In the 5th part of the SilverBullet series, Timmy Kokke talks about the ApplicationServiceContext class, which can be very helpful detecting if your Silverlight 3 application is running offline. Here are the previous parts of Timmy's SilverBullet series: SilverBullet Part 1 – System.Environment, SilverBullet Part 2 – System.Json, SilverBullet Part 3 - System.Windows.Input.FocusManagerSilverBullet #4 – System.Windows.ApplicationIdentity

When running Silverlight outside the browser, there’s the possibility that the computer that is running the applications is disconnected. This is where the System.Windows.ApplicationServiceContext class comes in. This class represents the initial state when the application is started. It has no methods of any significance, only two read only properties.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 7 and type the answer here:

Join the free SilverlightShow webcast 'Running Silverlight Outside the Browser and with Elevated Trust'. Sept 7th, 8 am - 9 am PDT.
In this live session Chris Anderson will cover configuring and debugging OOB mode, toast notifications, elevated trust, direct file access and much more.
Learn more | Register | See more webinars (hide this)