I need to call web services from my WP7 client application for user login pop up, and display the user the response whether the user is authenticated or not. My challenge is since all web service calls in WP7 are async, I am not sure how to pass the response message to the UI. The login method ends execution and I am trying to close the popup once the method execution is done. How do I keep my popup open till my async method call is done? I see some progress bar implemented in some of the WP7 apps. Will that solve my problem? Please share your thoughts and also point me to the right direction.
Thanks.
This code pattern may help: