最新的Microsoft TS: Microsoft .NET Framework 3.5 C Windows Communication Foundation - 070-503免費考試真題
You are creating a client application by using Microsoft .NET Framework 3.5. The
application consumes an ASMX Web service.
You need to configure the binding to call the methods of the ASMX Web service.
Which binding should you use?

application consumes an ASMX Web service.
You need to configure the binding to call the methods of the ASMX Web service.
Which binding should you use?

正確答案: A
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to expose two different service endpoints that have the same address.
Which configuration setting should you use?
You need to expose two different service endpoints that have the same address.
Which configuration setting should you use?
正確答案: B
You create a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5. The client application communicates with an existing Web service that requires custom HTTP headers. You need to ensure that all messages sent to the service include the headers.
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
正確答案: C,D
You are creating a client application that will call a Windows Communication Foundation service. The service was created by using Microsoft .NET Framework
3.5. You write the following code segment.

You plan to share the validation logic between the client application and the WCF service.
You need to generate a client-side service proxy that includes the validation logic.
Which four tasks should you perform? (Each correct answer presents part of the solution. Choose four.)
3.5. You write the following code segment.

You plan to share the validation logic between the client application and the WCF service.
You need to generate a client-side service proxy that includes the validation logic.
Which four tasks should you perform? (Each correct answer presents part of the solution. Choose four.)
正確答案: A,C,D,E
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5
You write the following code segment.

The implementation of the MyMethod operation must call back the CallbackMethod operation.
You need to ensure that the service meets the following requirements:
Which service implementation should you use?

You write the following code segment.

The implementation of the MyMethod operation must call back the CallbackMethod operation.
You need to ensure that the service meets the following requirements:
Which service implementation should you use?

正確答案: C
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. Client applications receive the original fault messages that the service generates. You need to create a custom service behavior to add a fault message handler to all channel dispatchers. What should you do?
正確答案: B
You create a client application by using Microsoft .NET Framework 3.5. The client application uses a Windows Communication Foundation (WCF) service.
The WCF service analyzes incoming message headers to verify whether special processing of the message is required.
The client application accompanies each call to the methods of the service with the address header. You write the following code segment. (Line numbers are included for reference only.)

You need to ensure that the following requirements are met: Which code segment should you insert at line 08?

The WCF service analyzes incoming message headers to verify whether special processing of the message is required.
The client application accompanies each call to the methods of the service with the address header. You write the following code segment. (Line numbers are included for reference only.)

You need to ensure that the following requirements are met: Which code segment should you insert at line 08?

正確答案: C
You have created a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
The existing service interface is named IMyService, and contains the following code segment.

You create a new service named IMyServiceVI that contains an operation named DoSomethingElse.
You need to ensure that existing client applications are still able to access the IMyService.DoSomething method without modifying client code.
Which code segment should you use?

The existing service interface is named IMyService, and contains the following code segment.

You create a new service named IMyServiceVI that contains an operation named DoSomethingElse.
You need to ensure that existing client applications are still able to access the IMyService.DoSomething method without modifying client code.
Which code segment should you use?

正確答案: D
You are creating a distributed application by using Microsoft .NET Framework 3.5.
The application uses the Windows Communication Foundation model.
You need to ensure that the following requirements are met:
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
The application uses the Windows Communication Foundation model.
You need to ensure that the following requirements are met:
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
正確答案: A,C
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You have successfully defined a service contract named IManageOrders. You write the following code segment.

You need to create a fault contract for the MarkOrderClosed method on the IManageOrders service contract. Which code segment should you add?

You need to create a fault contract for the MarkOrderClosed method on the IManageOrders service contract. Which code segment should you add?
正確答案: C
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.

The implementation of the MyMethod operation must call back the CallbackMethod operation. You need to ensure that the service meets the following requirements:
Which service implementation should you use?


The implementation of the MyMethod operation must call back the CallbackMethod operation. You need to ensure that the service meets the following requirements:
Which service implementation should you use?

正確答案: B