nerdexam
Microsoft

70-513 · Question #121

You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0. You have set up a web site in IIS Manager. The physical path is…

The correct answer is B. Copy the Calendar.dll file to the c:\wwwroot\Calendar\bin folder. See the full explanation below for the reasoning.

Question

You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0. You have set up a web site in IIS Manager. The physical path is c:\wwwroot\Calendar. There is a Calendar.svc file in the c:\wwwroot\Calendar folder. It contains the following directive:

<% @ServiceHost Language="C#" Debug="true" Service="Calendar.Calendar" CodeBehind="CalendarSvc.cs" %> The CalendarSvc.cs file contains the source for the Calendar class in the Calendar namespace. You compile this code into the Calendar.dll file. You need to deploy your service to the web site. What should you do?

Options

  • ACopy the Calendar.dll file to the c:\wwwroot\Calendar\code folder
  • BCopy the Calendar.dll file to the c:\wwwroot\Calendar\bin folder
  • CCopy the Calendar.svc.cs file to the c:\wwwroot\Calendar\bin folder
  • DCopy the Calendar.svc.cs file to the c:\wwwroot\Calendar\code folder

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    78% (25)
  • C
    13% (4)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice