PrepAway - Latest Free Exam Questions & Answers

What should you do to programmatically add the base address to the service?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
The service will be hosted in a managed Console application.
The service endpoint has an address that is relative to the base address of the service.
You need to programmatically add the base address to the service.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Call a constructor of the ServiceHost class.

B.
Call an AddServiceEndpoint method of the ServiceHost class.

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

D.
Create and add a custom operation behavior to the service.


Leave a Reply