Click here to Skip to main content
15,936,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

My requirement is to create a website in which any number of user can login and click on a button. The task inside that button click will be a long running process (May take hours or days to finish the task). User can logout from the website and can login occasionally to check the status of the task.Is it good to use the idea in Simulate a Windows Service using ASP.NET to run scheduled jobs[^] article. Please give some suggestion on this.

Thanks
Posted
Updated 4-Mar-14 17:59pm
v2

1 solution

Okay you're talking about somewhat like Asynchronous Task.
First look at on MSDN[^]
and then see this blog[^].

-KR
 
Share this answer
 
Comments
AmruthaNair 5-Mar-14 0:19am    
Thanks for the solution.. but in my scenario, the task is extracting huge amount of data. This may take 2-3 days to finish.. since its a website the user can close the site in the browser(so that there wont be any requst comming) and check after some days to know the status. similarly there can be hundreds of users. Can you please suggest a solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900