Developing Microsoft Azure and Web Services — Question 67

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?

Answer options

Correct answer: C

Explanation

The correct answer is C, PerCall, as it creates a new service instance for each incoming request, which fits the requirement. Options A (Single) and E (PerSession) do not create new instances for each request, while B (PerRequest) is not a valid WCF instancing mode. Option D (Multiple) is also not applicable in this context.