What should you do following?

You are making a Windows software by employing Microsoft .Net Framework 4 and Microsoft Visual Studio 2010.The business logic layer of the software is applied by using Windows Communication Groundwork(WCF). You produce a WCF services that consists of a single operation to upload big binary information files. You configure the binding of the WCF support to allow information streaming. You need to guarantee that the WCF service operation gets binary info files along with a string parameter that contains the description of each file. You create a service operation that gets a single parameter. What should you do following?
A. Implement the service parameter as a Serializable class that contains a property for the description of the file and another property for the content of the data file
B. Implement the service parameter as a DataContract class that contains a DataMember property for the description of the file and another DataMember property for the content of the data file.
C. Implement the service parameter as a MessageContract class that contains a MessageHeader property for the description of the file and a MessageBodyMember property for the content of the data file.
D. Implement the service parameter as a MessageContract class that contains a MessageBodyMember property for the description of the file and another MessageBodyMember property for the content of the data file.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.