Microsoft
70-515 · Question #20
70-515 Question #20: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #20. The question stem and answer options stay visible for context.
Question
You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List<Person> instead of an array. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Options
- AIn the context menu for the service reference in the ASP.NET project, select the Configure
- BIn the context menu for the service reference in the ASP.NET project, select the Update
- CChange the service interface and implementation to return a List<Person>
- DEdit the address property of the endpoint element in the web.config file to use the new
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 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.