试题详情
单项选择题Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information Services (IIS).You create a new application in IIS to host this service and copy the service DLL to the bin directory of the application.You need to complete the deployment of this service to IIS. What should you do next?()

A、Create an asmx file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.

B、Create an .asmx file and add a @Register directive to this file. Copy the file to the bin directoyy of the application.

C、Create a svc file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.

D、Create a .svc file and add a @Register directive to this file. Copy the file to the bin directory of the application.

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题