Amongst the hot topics this week includes asynchronous methods for the Web Services. Why, one might ask??
There is no need to make the GUI wait, or be locked up, while waiting for an overly busy server to respond... By incorporating asynchronous methods, the designer has the ability to restrict only the GUI features that they want without the locking the entire interface. This affords the user the option to potentially change their mind, else the application while they wait. It also affords them an exit strategy should something happen with the link to the server.
Web related sources, shall use them frequently; Silverlight uses asynchronous methods exclusively. There are several ways of incorporating asynchronous methods, including:
1. The BeginXXX/EndXX method calls
2. The .XXXAsync method, after you have already wired the .XXXCompleted event handler.
For further information on this topic, please see:
No comments:
Post a Comment