A Windows Communication Foundation (WCF) service is self-hosted in a console
application. The service implements the ITimeService service interface in the TimeService
class. You need to configure the service endpoint for HTTP communication. How should
you define the service and endpoint tags?
A.
Define the service tag as follows. <service name=”ITimeService”> Define the endpoint
tag as follows. < endpoint kind =”TimeService” address=”http://localhost:8080/TimeService”
binding=”wsHttpBinding” contract=”ITimeService”/>
B.
Define the service tag as follows. <service name=”TimeService”> Define the endpoint tag
as follows. < endpoint kind=”TimeService” address=”http://localhost:8080/TimeService”
binding=”wsHttpBinding” contract=”ITimeService”/>
C.
Define the service tag as follows. <service name=”ITimeService”> Define the endpoint
tag as follows. < endpoint name=”TimeService” a
ddress=”http://localhost:8080/TimeService” binding=”wsHttpBinding”
contract=”ITimeService”/>
D.
Define the service tag as follows. <service name=”TimeService”> Define the endpoint
tag as follows. <endpoint address=”http://localhost:8080/TimeService”
binding=”wsHttpBinding” contract=”ITimeService”/>