多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are implementing an ASP.NET Web site. The Web site contains a Web service named CustomerService. The code-behind file for the CustomerService class contains the following code segment. You need to ensure that the GetProducts method can be called by using AJAX.Which two actions should you perform?()

  • A、Apply the WebService attribute to the ProductService class.
  • B、Apply the ScriptService attribute to the ProductService class.
  • C、Apply the WebMethod attribute to the GetProducts method.
  • D、Apply the ScriptMethod attribute to the GetProducts method.
正确答案:B,C
答案解析:
进入题库查看解析

微信扫一扫手机做题