70-513 試験問題を無料オンラインアクセス

試験コード:70-513
試験名称:TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4
認定資格:Microsoft
無料問題数:323
更新日:2026-05-20
評価
100%

問題 1

You are creating a Windows Communication Foundation (WCF) service.
You need to ensure that the service is compatible with ASP.NET to make use of the session state.
Which binding should you use?

問題 2

A Windows Communication Foundation (WCF) service has the following contract.
[ServiceContract] public class ContoaServicea { [OperationContract] [TransactionFlow(TransactionFlowOperation. Mandatory)]
[OperationBehavior(TraisactionScopeRequired true,
TransactionAutoCorrolete = false)
void TxOp 1 (string value) { ) [OperationCortract(lsTerminating-true)J
[TransactionFlow(TransactionFlowOption Mandatory)] [OperationBehavior(TraisactionScopeRequired true,
TransationAutoCormplete = false)]
void TxOp2(string value) {.. OperationContext. Current. SetTransactionCompleteO;
)
)
The rvice and the clients that call the service use NetTcpBinding with transaction flow enabled
You need to configure the service so that when TxOpl and TxOp2 are invoked under the same client session, they run under the same transaction context.
What should you do?

問題 3

You create a service and deploy it on a network in a building named Building1. You will deploy the service to Building2.
The service in Building1 is configured using the following discovery scopes.

The service in Building2 will be configured using the following discovery scopes.

You need to ensure that the client application can discover the service in Building1 or the service in Building2.
Which scopes should you add to the client configuration file?

問題 4

A Windows Communication Foundation (WCF) solution uses the following contracts. (Line numbers are included for reference only.)

When the client calls GetMessage on the service interface, the service calls GetName on the client callback.
In the client, the class NameService implements the callback contract.
The client channel is created as follows.

You need to ensure that the service callback is processed by the instance of NameService.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

問題 5

You are developing a Windows Communication Foundation (WCF) service to replace an existing A5MX 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.

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。