1.
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You Configure a binding to enable streaming. You need to ensure that the client application is able to stream large XML files to the WCF service. Which operation contract should you create?
2.
You create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. The WCF service contains two operations named ProcessSimpleOrder and ProcessComplexOrder. You need to expose the ProcessSimpleOrder operation to all the client applications. You also need to expose the ProcessComplexOrder operation only to specific client applications. Which code segment should you use?
3.
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the following service contract. (Line numbers are included for reference only.) 01 [ServiceContract] 02 public interface IMyService 03 { 04 [OperationContract] 06 List GetData(int index); 07 } You need to ensure that the GetData operation can be accessed by using the URI in the following manner: GetData/1 for the index value 1 GetData/2 for the index value 2 .. GetData/n for the index value n Which code segment should you insert at line 05?
4.
**** Not 100% sure of the answer **** You want to upgrade a ASMX webservice to WCF, but you want to support legacy client applications. What code do you use to transfer binary data from the server to the client?