070-503 無料問題集「Microsoft TS: Microsoft .NET Framework 3.5 C Windows Communication Foundation」

You are creating a distributed application by using Microsoft .NET Framework 3.5.
You use Windows Communication Foundation (WCF) to create the application. The operations provided by the WCF server use the remote resources of other computers.
These methods use the credentials provided by the client applications.
You need to ensure that the WCF server can impersonate the client applications to access the remote resources.
Which client application settings should you use?

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 reads the value of the incoming message headers by using the following code segment.

The following code fragment is a part of the application configuration file. (Line numbers are included for reference only.)

The client application adds a message header each time it calls the WCF service.
You need to ensure that the message header provides the following values to its parameters.

Which code fragment should you insert at line 04?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service contains the following code segment.

You need to create a service contract that meets the following requirements:
Which code segment should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You have successfully created two interfaces: IMyService and IMyServiceClient.
You need to ensure that the service is able to call methods from the client application by using the IMyServiceClient interface.
Which code segment should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code fragment in the service configuration file. (Line numbers are included for reference only.)

You need to register the custom service behavior in the service configuration file. Which code fragment should you insert at line 10?

You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5.
The service will be hosted in a Windows Service environment. You need to create a Windows Service class that instantiates a service host.
Which code segment should you use?

You create a Windows Communication Foundation (WCF) service by using Microsoft .NET framework 3.5.
You write the following code segment for a service contract.
[ServiceContract]
public interface IOrderManager
{
[OperationContract]
void ProcessOrder(int ordered);
}
You need to ensure that the WCF service meets the following requirements:
Which method implementation should you use?

You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5.
You add the following code segment to the service.

You add the following code segment to the client application. 01 public double PerformCalculations (double num1, double num2) 02 {
04 }
You need to ensure that the DisposeCalculator operation is always called. Which code segment should you insert at line 03?

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?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment. (Line numbers are included for reference only.)
01 <SetviceContract(SessionMode:=SessionMode.Required)> _
02 Public Interface lOrderManager 04 Sub CloseOrder()
05 End Interface
You need to decorate the operation as the method that closes the current session.
Which code segment should you insert at line 03?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to host the service in a medium trust environment on a Web server.
Which two bindings should you use? (Each correct answer presents a complete solution. Choose two.)

正解:B、C 解答を投票する
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You add the following code fragment to the app.config file for the service.

You need to enable personal identifiable information (PII) logging for the second trace source.
What should you do?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You need to programmatically add the following endpoint 49 http://www.abc.com definition to the service.
http://localhost:8000/ExamService/service Which code segment should you use?

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡