How to use an AppDomain to limit a static class' scope for thread-safe use?

后端 未结 6 2035
我在风中等你
我在风中等你 2021-01-05 10:31

I have been bitten by a poorly architected solution. It is not thread safe!

I have several shared classes and members in the solution, and during development all

6条回答
  •  -上瘾入骨i
    2021-01-05 10:50

    Creating and tearing down an appdomain for each call - I take it you're not worried about performance on this one?

    Ideally you should change the called code to be threadsafe.

提交回复
热议问题