Question - How to set the instancing mode in WCF service?
Answer -
In WCF, instancing mode is set at service level. For ex.
//Setting PerSession instance mode
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
class MyService : IMyService
{
//Implementation goes there
}