You work as a Windows Application Developer for company Inc. The company uses Visual Studio
.NET 2008 as its application development platform. You have been tasked with creating a WCF
service for your company using .NET Framework 3.5.. Which of the following properties should your
service require in order to configure endpoints? Each correct answer represents a part of the
solution. Choose all that apply.
A.
COM Interface
B.
Marshalling
C.
Binding
D.
Contract
E.
Entry Point
F.
Address
Explanation:
An endpoint of a service enables a user to communicate with a WCF service. It provides clients
access to the functionality offered by a WCF service. One or more endpoints can be defined for a
service by using a combination of relative and absolute endpoint addresses. An endpoint consists of
the following four properties:
Address: It indicates the location of a specified endpoint.
Binding: It specifies how a client communicates with a specified endpoint.
Contract: It identifies the availability of operations.
Behavior: It specifies local implementation details of an endpoint.
Answer E is incorrect. Since an endpoint is itself an entry point, there is no need to define a separate
entry point as part of the endpoint.
Answer B is incorrect. Marshalling is an older concept of COM and is not used in WCF services. COM
was used with older development tools such as Visual Studio 5.0 and 6.0 (circa late 1990’s).
Answer A is incorrect. You should not use the COM interface, as it is not used by the Microsoft .NET
Framework 3.5.