I’ve service which is marked with the ServiceBehavior attribute
[ServiceBehavior(InstanceContextMode=InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple)]
Is there any chance for the operations in this service to be executed by same thread?
I’m storing an important data in ThreadLocal variable, which is to be used for single execution of an operation.
No,
Each request is answered in a different thread. the InstanceContextMode.Single attribute specifies that the service uses the same object (and its members) for each request.