Reputation: 28867
What are (if there are any) any suggested "best practices" for calling web services asynchronously in a web application?
To Illustrate - Direct Calling:
WSNameSpace.WSName svc = new WSNameSpace.WSName();
svc.EventName += new WSNameSpace.EventNameEventHandler(CallbackDelegate);
svc.ServiceMethodAsync(param1, param2);
Many thanks.
Rob
I have been Googleing and have found this article on creating "service agents", while it relates to WinForms, I will definitely have a sit down and read of this later to see how it affects my thoughts on this :)
Upvotes: 6
Views: 2057
Reputation: 5379
Use async call to webservice with async pages. Something like this http://gofrom.us/6LC
Upvotes: 4