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).

http://aspalliance.com/329_Start_a_Long_Process_from_a_Web_Page_Using_XML_Web_Services

http://books.google.com.hk/books?id=Z_QetkvQYScC&pg=PA1183&lpg=PA1183&dq=asp.net+2.0+web+service+long+running+task&source=bl&ots=X4_HIGN7Z-&sig=H3uP5BSlF3jZVxPNdWSohHAd6Gg&hl=zh-TW&sa=X&ei=kaUJT6myO8iwiQeo9PSTCQ&ved=0CGIQ6AEwBjgU#v=onepage&q=asp.net%202.0%20web%20service%20long%20running%20task&f=false

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?
bbkevinAsked:
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.
0
käµfm³d 👽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.
0
MajorBigDealCommented:
0

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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Kumaraswamy RCommented:
hi

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

http://www.codeproject.com/KB/aspnet/LongWebServiceTask.aspx
0
bbkevinAuthor Commented:
Haven't heard about REST-full Polling before...
Do you try it?
0
MajorBigDealCommented:
No, I've pretty much been doing SOAP.
0
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
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.