Posted on: 7/15/2011 8:39:19 AM | Views : 755

Since Silverlight 3, it’s possible to detect changes in the state of network availability. This can be useful to check whether or not a service call can be executed. In combination with the possibility to build a Silverlight application that runs out-of-browser, this feature opens up ways to build occasionally connected system. In this article, we’ll look how we build an application that detects changes in the network state.
The code for this article can be downloaded here.
Check network stateFor this article, I’ve put together a very basic interface that can be seen below. The application knows whether it’s online or offline. Also, it knows whether or not it’s running inside the browser or not.
Go to the complete details ...