Does anyone have any examples of calling a wcf service method asynchronously using the Begin<methodname> and End<methodname> methods. Specifically when the Begin method requires parameters (other than callback and syncState)? I have seen many examples that
call a static method that takes no parameters, but that will not suffice for my needs.
I need to be able to call a wcf method several times with different parameters and have to results returned asynchronously...prior to rendering the page.
Frank Prevat...
Member
2 Points
2 Posts
Asynchronous calling of a WCF Service from ASP.NET
Dec 16, 2008 10:38 PM|LINK
Does anyone have any examples of calling a wcf service method asynchronously using the Begin<methodname> and End<methodname> methods. Specifically when the Begin method requires parameters (other than callback and syncState)? I have seen many examples that call a static method that takes no parameters, but that will not suffice for my needs.
I need to be able to call a wcf method several times with different parameters and have to results returned asynchronously...prior to rendering the page.
Any help would be appreciated.
--Frank
Amit Sharma
Member
28 Points
14 Posts
Re: Asynchronous calling of a WCF Service from ASP.NET
Dec 30, 2008 04:10 AM|LINK
Hi Frank,
look at this : http://www.danrigsby.com/blog/index.php/2008/03/18/async-operations-in-wcf-event-based-model/
also, you can search the WCF forums at : http://social.msdn.microsoft.com/Forums/en-US/wcf/threads/