当前位置:MCPD(70-513)题库

问题:

[单选] 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. string 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 attribute to the operation.
C .  Replace the string parameter with a RemovedActivityAction parameter.
D .  Replace the return type with RemovedActivityAction.

经济发展的含义是什么?经济发展与经济增长是什么关系? 程序流程图可以由顺序型、选择型、DO-WHILE型、DO-UNTIL型以及多分支结构型这五种基本控制结构组合或嵌套而成。 简要回答定额法的优缺点。 下列叙述中错误的是()。 测试是为了寻找错误而运行程序的过程。 一个成功的测试是发现了迄今为止尚未发现的错误的测试。 测试的目的是为了证明程序是正确的。 一个好的测试用例是指很可能找到迄今为止尚未发现的错误的测试。 传统的程序设计语言的过程调用与目标代码的链接是在编译期完成的。 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. string 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?()
参考答案:

  参考解析

本题暂无解析

在线 客服