Posts

Showing posts with the label WCF - asynchronous calls

WCF - asynchronous calls

Image
Often we develop a method to perform some task and after properly coded, invoke the same from any point in the application. Depending on what this method does, it can take some time to run and, if time is considerably high, we can begin to have problems in applying, because as the call is always performed synchronously, while the method does not return, the execution of system that makes use of it will freeze, awaiting the return of the method to follow up on implementation. however, to provide a better user experience and make the performance of the very highest performing application, we choose to perform a certain task so asynchronous. This will enable the firing of a costly process in a  thread  work part of the application, allowing the application to continue running while the costly process runs in parallel and when it finished, we can recover the result and display the same to user. The purpose of this article is to show how to implement asynchron...