Async method in asp.net web service
<p>I've got a page that generates a bunch of reports, and emails a zip of the results. This process takes about 30sec to 2min.</p>

<p>When the user invokes this process via ajax, I can poll the web service via ajax to get the results, but how do I create an async method that will continuously update a variable?</p>

<p>For simplicity, how could I write a method that would count from 1 to 1 million and add each number to a list, and at the same time be able to poll the web service and return the current number of items in said list?</p>

<p>Any articles would be appreciated also.</p>
