3

Are there any caveats or short comings to using the new Task API in System.Threading.Task in ASP.NET hosted under IIS?

I know prior to .NET 4.0 working with any of the ThreadPool actions inside of IIS was always recommended to be avoided.

1 Answer 1

5

Any caveats to using ThreadPool with IIS would still be valid using System.Threading.Task, as the Task API is just an additional layer of abstraction over System.Threading.

For long-running tasks in the background, I use a ThreadPool inside a Windows Service. This keeps it outside of IIS.

Sign up to request clarification or add additional context in comments.

1 Comment

This was pretty much what I was looking for whether Task was a new and different construct or just an abstraction on top of ThreadPool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.