Question - What is Instance Management in WCF?
Answer -
WCF manages the session by creating the instance of the service class. This created instance(s) to handle the incoming service request. In WCF, the session is the way of managing the services instance(s) so that the server can use these instances in an optimized way. At the server-side, the InstanceContext class is used to manage service class instances. There are following instance management ways :
- Per Call
- Per Session
- Single