You are creating a Windows Communication Foundation (WCF) service that responds using plain-old XML (POX).You have the following requirements: You must enable the /catalog.svc IItems operation to respond using the POX, JSON, or ATOM formats. You also must ensure that the same URL is used regardless of the result type. You must determine the response format by using the Accepts HTTP header.What should you do?()
A. Implement the IChannelInitializer interface in the service class.
B. Implement the System.Runtime.Serialization.IFormatterConverter interface in the service class.
C. Set the BodyStyle parameter of the WebGet attribute on the operation to WebMessageBodyStyle.WrappedResponse.
D. Set the retum type of the operation to System.ServiceModel.Channels.Message. Use the current WebOperationContext methods to return the data in the required format.
查看答案
可以使用挪用的车辆通行证。
A. 正确
B. 错误
下列设备组中,完全属于输出设备的一组是()
A. CD-ROM驱动器、键盘、显示器
B. 绘图仪、键盘、鼠标器
C. 显示器、打印机、投影仪
D. 打印机、硬盘、条码阅读器