Multiple choice technology testing

What is the reference required to consume the wcf service in test project?

  1. ServiceContract

  2. ServiceClient

  3. ServiceConsumer

  4. OperationContract

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To consume a WCF service in a client or test project, you instantiate and use the generated ServiceClient proxy class, which implements the service contract and manages the underlying channel communication.