Pages

Men

rh

6/23/2012

Various ways of accessing Web Service in Asp.Net

Various ways of accessing Web Service:-
  • Asynchronous Call
  • Synchronous Call
 Asynchronous Call : 
  • Application can a make a call to web service and then contentious  what ever it wants to do.
  • Application can use Begin and End methods to make Asynchronous Calls to web method.
  • We can use either wait handler method or delegate object  when making Asynchronous Calls.
  • The wait handler class shares the resources between several objects. It provides several methods which will wait for the resources to become available.
  • The easiest and  most power full to implement an Asynchronous Call is using a Delegate object.
  • The Delegate object wrap up a callback.

Synchronous Call :
  • Application has to wait until the execution  has completed.

No comments :

Post a Comment