views:

186

answers:

1

Hello

Writing a ASP.NET website, we have a lot of legacy components we need to rely on.

My view is that because we are MTA (Multi Threaded Apartment) in ASP.NET, if we use a STA component then the requests will queue. So even if we use a .NET component which is MTA, if IT relies on an old STA component, this will still queue. Am I right so far?

Anyway, my real question is - By examining a .DLL ONLY, can I find out which threading model it was built under?

Thanks Duncan

+1  A: 

ActiveX and COM are basically the same thing -- they must both be registered in order to be used. Threading models (as far as I know) only apply to COM objects, not .NET objects, so unless you're doing COM interop you shouldn't need to care about threading models.

Kim Gräsman
oops, I meant for that to be a comment response, but I suppose it was time for an answer :-)
Kim Gräsman