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 generate a service operation that gets a single parameter. What should you do following?
A.
Carry out the support parameter as a Serializable class that consists of a house for the description of the file and an additional residence for the content of the info file
B.
Put into action the support parameter as a DataContract class that is made up of a DataMember house for the
description of the file and yet another DataMember residence for the content material of the info file.
C.
Put into action the service parameter as a MessageContract class that is made up of a MessageHeader property
for the description of the file and a MessageBodyMember house for the material of the data file.
D.
Implement the services parameter as a MessageContract class that is made up of a MessageBodyMember
home for the description of the file and yet another MessageBodyMember house for the content of the info file.