Microsoft
70-513 · Question #62
70-513 Question #62: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #62. The question stem and answer options stay visible for context.
Question
You develop a Windows Communication Foundation (WCF) service. Many client applications will consume the service. You have the following requirements: - You must enable client sessions on the service. - The service must support multi-threaded operations. - If a client application uses sessions, the lifetime of the service instance must be scoped to the lifetime of the session. - If a client application does not use sessions, the lifetime of the service must be scoped to the lifetime of a method cal You need to configure the service. What should you do? (Each correct answer presents part of the solution. Choose three.)
Options
- AIn the ServiceContract attribute, set the value of the InstanceContextMode property to
- BIn the ServiceContract attribute, set the value of the SessionMode property to
- CIn the ServiceBehavior attribute, set the value of the InstanceContextMode property to
- DIn the ServiceContract attribute, set the value of the ConcurrencyMode property to
- EIn the ServiceBehavior attribute, set the value of the ConcurrencyMode property to
- FIn the ServiceBehavior attribute, set the value of the SessionMode property to
Unlock 70-513 to see the answer
You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.