Hi everyone,
I have an ASP.NET MVC application, and in one of the controllers I have two long-running operations. I want to execute them in parallel.
At first, I simply rolled my own multithreading code by new'ing up a System.Threading.Thread() object, running it in the background, and thread.Join()ing it up before exiting the controller. Worked fine.
A co-worker pointed me at the System.Web.UI.PageAsyncTask class. It seems straightforward enough and event-driven, but it seems like it will work too.
Any compelling reason to choose PageAsyncTask over a simple Thread?
Thanks!
-Mike