Microsoft
70-513 · Question #304
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 correct answer is C. Create a svc file and add a @ServiceHost directive to this file. See the full explanation below for the reasoning.
Question
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?
Options
- ACreate an asmx file and add a @ServiceHost directive to this file.
- BCreate an .asmx file and add a @Register directive to this file.
- CCreate a svc file and add a @ServiceHost directive to this file.
- DCreate a .svc file and add a @Register directive to this file.
How the community answered
(15 responses)- A7% (1)
- B7% (1)
- C73% (11)
- D13% (2)
Community Discussion
No community discussion yet for this question.