[ACCEPTED]-Does every 'HttpRequest' get its own thread in ASP.NET?-httprequest
Accepted answer
If you're referring to using the HttpRequest 11 object for making outgoing requests from 10 your application, no - HttpRequest runs 9 in the current thread.
If you're referring 8 to how IIS and ASP.NET handles threading 7 per request, yes. Each request is run on 6 a separate thread. However, the model is 5 a little more complex than that - there 4 are worker threads and I/O threads to consider. And under load, .NET will 3 sometimes move requests from one thread to another as it sees fit. This 2 is important to understand when dealing 1 with things like ThreadStatic.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.