可学答题网 > 问答 > MCTS(70-513)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are creating a Windows Communicati


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?()

  • A Add the WebInvoke(UriTemplate="/Items/{id}", Method="DELETE") attribute to the operation
  • B Add the HttpDelete atribute to the operation
  • C Replace the string parameter with a RemovedActivityAction parameter
  • D Replace the return type with RemovedActivityAction.
参考答案
参考解析:
分类:MCTS(70-513)题库