Perform a long time in ASP.NET, sometimes you need to have a feedback on the client to understand the progress of the task, roughly see how many practices: (1) Press the button to give Out of a
(1) and (2) are more useful, but also relatively simple, the disadvantage is that the progress of the task cannot be real-time, and the time may time out, (3) is better to solve the above 2 disadvantages. The following focuses on the implementation method of (3), first from the simple start, we do a task class, when the client (the transfer time is 1 second) know how much time executing, and given successfully after successful completion tasks The execution time gives an error time at the task error.
Front desk