You are developing a Windows Communication Foundation (WCF) service to replace an
existing ASMX Web service. The WCF service contains the following code segment. (Line
numbers are included for reference only.) The existing Web service returns the EmployeeID
as an attribute of the EmployeeInfo element in the response XML. You need to ensure that
applications can consume the service without code changes in the client. What should you
do?
A.
Insert the following code at line 20. <DataContractFormat()> Insert the following code at
line 22. <DataMember()>
B.
Insert the following code at line 09. <XmlSerializerFocmat()> Insert the following code at
line 22. <XmlAttribute()>
C.
Insert the following code at line 02. <DataConttactFormat()> Insert the following code at
line 22. <DataMember ()>
D.
Insert the following code at line 02. <XmlSerializerFormat()> Insert the following code at
line 22. <XmlAtttibute()>