Question - What are the advantages and disadvantages of using Single, Instancing mode in WCF?
Answer -
In a single instancing mode, a single service object is created for all calls from all clients and sessions this type of WCF service is also called a singleton service. The following are the advantages and Disadvantages of the Single instance mode.
Advantages:
- State maintained by the service instance
Disadvantages:
- Least throughput
- Potentially greater memory consumption
- Concurrency issues