You are developing a WCF service. A new service instance must be created for each client session. You need to choose an instancing mode. Which instance mode should you use?
A. PerCall
B. Single
C. Multiple
D. PerSession
E. PerRequest
2 Comments on “Which instance mode should you use?”
PerSession –
http://msdn.microsoft.com/en-us/library/ms731193%28v=vs.110%29.aspx
0
0
When we configure a WCF service as per call, new service instances are created for every method call you make via a WCF proxy client.
In PerSession – In per session, only one instance of a WCF service object is created for a session interaction
0
0