Microsoft
70-513 · Question #336
70-513 Question #336: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #336. The question stem and answer options stay visible for context.
Question
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?
Options
- ACreate and add a custom endpoint behavior to the service.
- BAdd the IEndpointBehavior object to the Service.Endpoint.Behaviors property.
- CCall a constructor of the ServiceHost class.
- DConfigure the behavior using an application configuration file.
Unlock 70-513 to see the answer
You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.