asp.net AJAX best practise for client calling slow async process on server
问题 I have a service that performs a slow task, when its finished I want to update the client using AJAX with the result of the task. In my client I call the task many times to update a grid of results. For the purposes of understanding, its a connection tester that loops through a list of connections to see if they are alive. I have implemented the service as WCF. I generate async methods when I add the service reference to my web client. The code works fine, however the screen locks momentarily