Microsoft
70-513 · Question #318
70-513 Question #318: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #318. The question stem and answer options stay visible for context.
Question
You are creating a Windows Communication Foundation (WCF) service that implements operations in a RESTful manner. You need to add a delete operation. You implement the delete method as follows: void DeleteItems(string id); You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation. What should you do?
Options
- AAdd the WebInvoke(UriTemplate="/Items/{id}", Method="DELETE")
- BAdd the HttpDelete atribute to the operation
- CReplace the string parameter with a RemovedActivityAction parameter
- DReplace the return type with RemovedActivityAction.
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.