试题详情
- 多项选择题 You are developing a WCF service. The service includes an operation names GetProduct. You need to ensure that GetProduct will accept a POST request and will indicate that the returned data is XML. Which two actions should you perform?()
A、Add the WebGet attribute to the service contract.
B、Set WebOperationContext.Current.OutgoingRequest.ContentType to "text/xml" in the GetProduct method.
C、Add the WebInvoke attribute to the service contract.
D、Set WebOperationContext.Current.OutgoingResponse.ContentType to "text/xml" in the GetProduct method.
- C,D
关注下方微信公众号,在线模考后查看
热门试题
- Your company&e
- You create&ensp
- 你是WindowsXP笔记本电脑的管理员
- Yournetworkcontainsa
- 你是TestKing网站的电脑管理员,所
- An application
- You are de
- Rate your level of p
- Your network
- You work
- Your network&e
- Youarethenetworkadmi
- You are de
- You have
- Your network&e
- You create a large,
- 你是Fabrikam.Inc公司网络管理
- You have
- You have
- Youareanetworkadmini