asp.net multithreading?

A

Ariel Gimenez

Hi, in my web application im calling another component that performs tasks
that takes too much time, im wandering what is the correct form to handle
this...
i mean i think i should call the process in another thread and forget about
it to allow the user continue using the page

TIA
 
S

Steve C. Orr [MVP, MCSD]

You may be able to use multithreading for such a scenario.
Here's more details:
http://www.fawcette.com/vsm/2002_11/magazine/features/chester/
http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=547

However if your process takes a REALLY long time (or you want the process to
be able to run without being invoked by a web page) you might want to use a
windows service to handle the chores.
Here's more information on Windows Services:
http://msdn.microsoft.com/library/d...nvssamp/html/vbcs_CreatingaWindowsService.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top