none
Async Calls to WCF Methods RRS feed

  • Question

  • Hi,

    We are having one wcf service method e.g. 'TransferFile' which get called from window Service. While adding service reference to window service, we checked 'generate async methods' option which created async methods i.e.'TransferFileAync'.

    But its not working asyncronously. Anymore setting or code is required  from window service or WCF end?


    Vinayak Chavan

    Monday, February 13, 2012 12:21 PM

All replies

  • Hi,

    We have to go for async call. But when we use just 'TransferFileAync' method. It doesn’t work asynchronously.

    Vinayak Chavan

    Monday, February 13, 2012 12:45 PM
  • Hi,

    Thanks for your response.

    We tried above code. Code is working synchronously but not asynchronously. Our WCF service is hosted in asp.net application.

    And database watcher window service calls this WCF service in for loop depends upon the record it get.


    Vinayak Chavan

    Tuesday, February 14, 2012 11:03 AM