Running ASMX Web Services on STA Threads

ASMX Web services in ASP.NET run on MTA threads from the thread pool.  That's great, unless your Web services are using STA COM components and you're running into performance issues resulting from all of your Web service calls queuing waiting for the STA thread to become available.  Jeff Prosise, in his Wicked Code column from the October 2006 issue of MSDN Magazine, provides a solution.


Comments (0)

Skip to main content