What should you do to accomplish the task?

You work as a Windows Developer for PassGuide.com. You have a task to create a WCF service
4.0 by using Microsoft .NET Framework 4.0. The WCF service will be hosted in a managed
console application of the Framework. The WCF 4.0 service endpoint has an address that is
comparative to the base address of the WCF service. You are required to programmatically add
and manage the base address to the WCF service.
What should you do to accomplish the task?

You work as a Windows Developer for PassGuide.com. You have a task to create a WCF service
4.0 by using Microsoft .NET Framework 4.0. The WCF service will be hosted in a managed
console application of the Framework. The WCF 4.0 service endpoint has an address that is
comparative to the base address of the WCF service. You are required to programmatically add
and manage the base address to the WCF service.
What should you do to accomplish the task?

A.
Create and add a custom endpoint behavior to the service.

B.
Add the IEndpointBehavior object to the Service.Endpoint.Behaviors property.

C.
Call a constructor of the ServiceHost class.

D.
Configure the behavior using an application configuration file.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *