Showing posts with label Standalone Silverlight application. Show all posts
Showing posts with label Standalone Silverlight application. Show all posts

Thursday, May 21, 2009

Whether Silverlight 3 application is running online or not

Just check the below mentioned property to know the network status of Silverlight application.We can do operations according to that.
Application.Current.ExecutionState

There are 5 possible states which are defined in System.Windows.ExecutionStates

// Summary:
// Defines constants that indicate the state of an application that can run
// offline.
public enum ExecutionStates
{
// Summary:
// The application is running within its host Web page.
RunningOnline = 0,
//
// Summary:
// The application is in the process of detaching from its host Web page.
Detaching = 1,
//
// Summary:
// The application is running in offline mode, detached from its host Web page.
Detached = 2,
//
// Summary:
// The application is running in offline mode, but a newer version of the application
// has been downloaded and will be used the next time the application is launched.
DetachedUpdatesAvailable = 3,
//
// Summary:
// The application could not be detached from its host Web page.
DetachFailed = 4,
}

Monday, September 1, 2008

Desklighter - The Silverlight to exe converter

Lastweek Identitymine released its new product called Desklighter.It's a tool to convert silverlight application / site to a standalone windows exe application.ie A silverlight to exe converter.One can use this it they are in a situation which demands a standalone silverlight application.


Application areas
  1. Presentations :
    Since Silverlight is a rich presentation technology one can easily create presentations and publish in their sites.But currently that cannot be viewed without an internet connection.But Desklighter allows you to store Silverlight presentations in your hard disk and view it without internet connection.Very much useful in marketing,education..
  2. Games :
    Silverlight games can be played offline.(Unless they are networked to store scores or multiuser)
  3. Offline Silverlight browsing :
    Developers can create entire sites using Silverlight and if they handle the online and offline conditions it can be converted using Desklighter to use it as standalone application.The network operations ie data loading and saving should be programmed to be done whenever the net connection is available.
Currently desklighter is in identitymine blendables labs as a free download.More technical details can be found here.The future releases may extend support on Linux and Mac desktop machines where the current version supports only windows desktop.