What should you do to implement the design strategy by using the minimum amount of development effort?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The component will return custom business objects. You plan to develop a design strategy that meets the following requirements:

The component can be accessed by the .NET Windows applications and JavaScript-based Web applications. The component can be consumed by the client applications by using the minimum amount of code. The least amount of network bandwidth is consumed. You need to implement the design strategy by using the minimum amount of development effort. What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The component will return custom business objects. You plan to develop a design strategy that meets the following requirements:

The component can be accessed by the .NET Windows applications and JavaScript-based Web applications. The component can be consumed by the client applications by using the minimum amount of code. The least amount of network bandwidth is consumed. You need to implement the design strategy by using the minimum amount of development effort. What should you do?

A.
Develop the component as a Web service. Return the business objects as XML.

B.
Develop the component as a Windows Communication Foundation service. Return the business objects as serialized binary objects.

C.
Develop the component as a Windows Communication Foundation service. Return the business objects as JavaScript Object Notation objects.

D.
Develop the component as a Web service. Return the business objects as strings that contain the values of the properties concatenated and separated by a comma.



Leave a Reply 1

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


dino

dino

Why is this C? I would think it is A as consuming JSON in a windows app would require more work.