How to get online or offline state of a WCF Service with a WP7 Application

Posted by Arjuna Wenzel on Stack Overflow See other posts from Stack Overflow or by Arjuna Wenzel
Published on 2012-09-03T09:37:07Z Indexed on 2012/09/03 9:37 UTC
Read the original article Hit count: 208

Filed under:
|
|

im working on a Windows Phone 7 Application that communicates with a Azure hosted WCF service.

Everything works fine in communication and so on. But i want to handle the situation when the Service is not online.

Now the WP7 App has a main screen with a login. After clicking the "Login" button the Application sends the credentials to the WCF Service which communicates with a Database.

And now my question is, is there a way to get the online/offline state of the WCF Service? So i could give feedback to the user and the application wouldnt crash (:

Thx alot for any answer!

© Stack Overflow or respective owner

Related posts about wcf

Related posts about windows-phone-7