Which instancing mode should you use?

You are developing a WCF service. A new service instance must be created for each client
request. You need to choose an instancing mode. Which instancing mode should you use?

You are developing a WCF service. A new service instance must be created for each client
request. You need to choose an instancing mode. Which instancing mode should you use?

A.
Single

B.
PerRequest

C.
PerCall

D.
Multiple

E.
PerSession



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Dasharath

Dasharath

PerSession is correct

M

M

Correct!
“PerCall” creates an instance for each client ‘request’.

Blah

Blah

Wrong. The question states “A new service instance must be created for each client
request” so it should be C – PerCall.