Do I need to implement my own lock in a WCF service that uses ConcurrencyMode.Multiple and InstanceContextMode.PerCall or InstanceContextMode.PerSession ? Since a new ServiceContext is created with every call or new session, I should think that I will not, but I am far from certain.
Example:
[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.PerSession, IncludeExceptionDetailInFaults = false, MaxItemsInObjectGraph = Int32.MaxValue)] public class ExampleService : IExample
user152949
source share