On my aspx pages, I invoke a COM component that uses the STA. Therefore, I use the aspcompat = true parameter, but I want to understand the logic. What is he doing? To my knowledge, the STA assumes that it is assumed to be only one thread. Therefore, I must ensure thread safety.
If this is correct, where does the aspcompat parameter provide thread safety? Throughout the page or just at the access point to the STA component?
source
share