Type 'System.Threading.Tasks.Task`1[System.String]' cannot be serialized

后端 未结 2 1085
情深已故
情深已故 2021-01-07 14:14

As per the following article, I have defined my service contract as

http://blogs.msdn.com/b/endpoint/archive/2010/11/13/simplified-asynchronous-programming-model-in

2条回答
  •  花落未央
    2021-01-07 15:15

    Here is a good answer: http://mylifeandcode.blogspot.com/2012/12/the-cause-and-solution-for.html

    Seems need to re-generate proxy classes - instead of "Generate task-based operations" need to choose "Generate asynchronous operations".

提交回复
热议问题