Microsoft
70-513 · Question #61
70-513 Question #61: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.
Question
You are creating a Windows Communication Foundation (WCF) service. You do not want to expose the internal implementation at the service layer. You need to expose the following class as a service named Arithmetic with an operation named Sum: public class Calculator { public int Add(int x, int y) { } } Which code segment should you use?
Options
- A[ServiceContract(Namespace="Arithmetic")]
- B[ServiceContract(ConfigurationName="Arithmetic")]
- C[ServiceContract(Name="Arithmetic")]
- D[ServiceContract(Name="Arithmetic")]
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.