Question

In VS 2013, I am setting up the WCF service. I am getting an error as " This operation is not supported in the WCF Test Client because it uses System.Threading.Tasks "

enter image description here

Was it helpful?

Solution

If the synchronous methods are working then your service is working fine. The problem you are having is the fact that the WCF test client does not support methods that return a Task, you must either use the synchronous methods with the built in client or write your own client that uses the asynchronous methods to test your service..

There is nothing you can do to "fix" it to make the WCF test client work with asynchronous methods.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top