Run a Long Process from an ASP.NET Web Page

I've always wanted a simple method to start a long process from a web page, and return to the client before the process completes. Once again, XML web services came to my rescue--requiring only that I insert a one-line attribute in then web service defination.

There is a full article with details of this at ASPAlliance.com...

http://aspalliance.com/329

Published Monday, February 02, 2004 1:15 PM by shark

Comments

# re: Run a Long Process from an ASP.NET Web Page

Tuesday, February 03, 2004 4:44 AM by Konstantin Shapkin
Check method recommended by Microsoft:
How To: Execute a Long-Running Task in a Web Application
http://msdn.microsoft.com/library/en-us/dnpag/html/DIforWC-AP02.asp?frame=true#diforwc-ap02_plag_howtomultithread

# re: Run a Long Process from an ASP.NET Web Page

Tuesday, February 03, 2004 9:01 AM by Steve Sharrock
I agree there are many more options using threading (and the example in the msdn library is great). This article was really to share what I had learned about the various ways of envoking a Web Service, without much in the way of coding.

Thanks,
Steve Sharrock
Architecture/Design/Programming
Microsoft MVP: ASP.NET
www.sharkcode.com

# re: Run a Long Process from an ASP.NET Web Page

Wednesday, December 21, 2011 1:52 AM by Ashish

I think using async handler also works very well for long running processes. check out

aspdotnetmatters.blogspot.com/.../aspnet-handling-long-running-process-in.html

# re: Run a Long Process from an ASP.NET Web Page

Wednesday, December 28, 2011 10:28 AM by Wound Care

The good thing about your information is that it is explicit enough for students to grasp. Thanks for your efforts in spreading academic knowledge.

Leave a Comment

(required) 
(required) 
(optional)
(required)