Hello.
I need to perform a very long task that can take up to 1 hour. I'm trying to do it like so :
ParameterizedThreadStart pts = new ParameterizedThreadStart(ExportVentaAsync); Thread t = new Thread(pts); t.Start((object)pars); The problem is that IIS recycles the app pool after 20 minutes and the thread gets aborted.
I need a way to launch a new thread without it getting aborted when IIS decides to recycle the app pool.
Thanks in advance.
...

Go to the complete details ...