You need to ensure that changes made to the WCF service data contract do not require the application to be recompiled

You are developing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. The application will consume a Windows Communication
Foundation (WCF) service. The WCF service will provide data to the application. You plan
to use the ADO.NET Entity Framework to create a data model that will be used by the
application. Another development team makes changes to the WCF service data contract.
You need to ensure that changes made to the WCF service data contract do not require the
application to be recompiled. What should you do?

You are developing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. The application will consume a Windows Communication
Foundation (WCF) service. The WCF service will provide data to the application. You plan
to use the ADO.NET Entity Framework to create a data model that will be used by the
application. Another development team makes changes to the WCF service data contract.
You need to ensure that changes made to the WCF service data contract do not require the
application to be recompiled. What should you do?

A.
Create a conceptual model based on the business model. Use a class generated from
the conceptual model for programming. Update the mapping file when the new version of
the WCF service is available.

B.
Create a storage model based on the schema of the existing WCF service. Update the
mapping file when the new version of the WCF service is available.

C.
Create a conceptual model and a storage model based on the existing version of the
WCF service.

D.
Create a storage model based on the business model. Use a class generated from the
storage model for programming.

Explanation:



Leave a Reply 0

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