I have a service that is marked with the ServiceBehavior attribute
[ServiceBehavior(InstanceContextMode=InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple)]
Is it likely that operations in this service will be performed by the same thread?
I store important data in the ThreadLocal variable, which should be used to execute the operation once.
source
share