Search code examples
c#.netwcfwindows-services

How to make a call to my WCF service asynchronous?


I have a WCF service that I call from a windows service.

The WCF service runs a SSIS package, and that package can take a while to complete and I don't want my windows service to have to wait around for it to finish.

How can I make my WCF service call asynchronous? (or is it asynchronous by default?)


Solution

  • All your needs will be satisfied in the following articles from MSDN:

    Implementing an Async Service Operation

    Calling WCF Service Async

    Designing Service Contracts