Reputation: 10291
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
Upvotes: 0
Views: 689
Reputation: 7586
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.
Upvotes: 1