题目内容

You are consuming a Windows Communication Foundation (WCF) service in an ASP. NET Web application.The service interface is defined as follows:[ServiceContract]public interface ICatalog{ [OperationContract] [WebGet(UriTemplate="/Catalog/Items/{id}", ResponseFormat=WebMessageFormat.Json)] string RetrieveItemDescription(int id); } The service is hosted at Catalogsvc.You need to call the service using jQuery to retrieve the description of an item as indicated by a variable named itemId. Which code segment should you use?()

A. $get(String.format("/Catalogsvc/Catalog/Items/id{0}", itemId) null, function (data) { ... }, javascript");
B. $get(String.format("/Catalogsvc/Catalog/Items/{0}", itemId), null, function (data) { ... }, "json");
C. $get(String.format("/Catalogsvc/Catalog/Items/{0}", itemld), null, function (data) { ... }, "xml");
D. $get(String.format("/Catalogsvc/Catalog/Items/id{0}", itemld), null, function (data) { ... }, "json")

查看答案
更多问题

试述消火栓及支管安装?

海洋是一个整体,海洋环境保护需要统一的监督管理;海洋又是个综合的环境系统,其开发利用和保护管理涉及到方方面面的工作。针对海洋环境保护这一特点,《海洋环境保护法》规定了统一主管和分工负责相结合的监督管理体制。()

A. 正确
B. 错误

电视画面的时间特性主要有()、()和()。

新文化运动在文教方面有哪些主要成果?

答案查题题库