Long Running Tasks in ASP.NET 2.0

I search asp.net 2.0 web service long running task in google, and get back some results about how to run a long running task in the ASP.NET 2.0 (Visual Studio 2005).



Because our users can close the browser during processing and check the status in the other page later, is there any recommendation other than using [SoapDocumentMethod(OneWay=true)] web method?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Easwaran ParamasivamCommented:
You can create a windows service and run the long running process during less business hours.

 The service program may use threads efficiently.

 Please do google those topics and try to implement in your application.
kaufmed 👽Commented:
The web was designed to be stateless. Once a request has been satisfied, that's it--there is nothing to check later. You need to add something that will maintain the state for your process. Have you considered having a database that your long-running task can update with its current status? You ASP.NET page can query this database to check the status at later times.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Kumaraswamy RCommented:

we have to deal with slow and lengthy Web Services tasks and consuming such Web Services can be equally frustrating. One solution to overcome this problem is to access the Web Service in an asynchronous manner while running the slow and lengthy Web Service task itself asynchronously

bbkevinAuthor Commented:
Haven't heard about REST-full Polling before...
Do you try it?
No, I've pretty much been doing SOAP.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.