I have a Web service create by WCF, and it could response for the client's request, such as adding or updating data.
Let's call the main part of service Context, because some method(supposed method A) would spend a long time to handle, but I don't want the method hold the server, I set the InstanceContextMode enum to PerCall, and I expect that each time I call A, it will create a new instance to serve the request, then my server could continue to server other one's as usual.
But my problem is, it still use Main thread(UI thread) to serve each time, so when I call A, the server will stop response for a long time, till A done.
Did I miss anything? I'm a novice of WCF, so please let me know if I had any mistake.