SimpleProxy
SimpleProxy copied to clipboard
InvocationContext is not thread safe?
Two threads both write to InvocationContext in BeforeInvoke method:
-
Thread1: invocationCopntext.SetTemporaryData("temp", "value1");
-
Thread2: invocationCopntext.SetTemporaryData("temp", "value2");
This seems corrupt invocationContext.
Is there a thread safe solution?