Microsoft
70-513 · Question #328
70-513 Question #328: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #328. The question stem and answer options stay visible for context.
Question
A Windows Communication Foundation (WCF) solution exposes the following contract over an HTTP connection. [ServiceContract] public interface IDataService { [OperationContract] string GetData(); } Existing clients are making blocking calls to GetData. Calls to GetData take five seconds to complete. You need to allow new clients to issue non-blocking calls to get the data, without breaking any existing clients. What should you do?
Options
- AReplace the service interface with the following interface and implement the new methods.
- BReplace the service interface with the following interface and implement the new methods.
- CGenerate a proxy class with asynchronous methods and use it for the new clients.
- DAdd a new endpoint to the service that uses a full-duplex binding and use it for the new
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.