Rob Cooper
Rob Cooper

Reputation: 28867

"Best Practice"/Favourite Pattern for Calling Web Services (ASP.NET)

Problem:

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

Update

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

Answers (1)

Zote
Zote

Reputation: 5379

Use async call to webservice with async pages. Something like this http://gofrom.us/6LC

Upvotes: 4

Related Questions