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

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

問題 1

You are developing a client application that uses the following code to consume a Windows Communication Foundation (WCF) service. (Line numbers are included for reference only.)
01 BasicHttpBinding myBinding = new BasicHttpBinding(); 02 EndpointAddress myEndpointAddress = new EndpointAddress( "http://contoso.com/TaxService.svc");
04 ITaxService client = channelFactory.CreateChannel();
05 string data = client.GetData(1);
You need to consume the service.
Which code segment should you insert at line 03?

問題 2

The endpoint of a Windows Communication Foundation (WCF) service uses basicHttpBinding for its binding Your Company's policies have changed to require that messages not be sent in clear text.
You must ensure that all messages are encrypted when traveling across the network What should you do?

問題 3

You are creating a Windows Communication Foundation (WCF) service that is implemented as folks. (Line numbers are included for reference only.)
01 <ServiceContract()
02<ServiceBehaior(lncludeExceptionDetailInFaults: Time)>
03Public Class OrderService
04
05eCNperationCortracto()>
O6Putdic Sub Submit Order(ByVal anOrder As Order)
07
08Try
09. 10Catch ex As D wide By Zero Exception 11 12End Try 13End Sub 14 1 5End Class
You need to ensure that the sack trace details of the exception are not included in the error information sent to the client. What should you do?

問題 4

A WCF service code is implemented as follows. (Line numbers are included for reference only)
01 [ServiceContract]
02 [ServiceBehavior(lnstanceContextMode =
03 lnstanceContextModeSingle)]
04 public class CalculatorService
05 {
06 [OperationContract]
07 public double Calculate(double op1, string op. double op2)
08 {
24 }
25 }
You need to increase the rate by which clients get the required response from the service.
What e two possible ways to achieve this goal? (Each correct answer presents a complete sokiion
Choose two.)

問題 5

You are developing a Windows Communication Foundation (WCF) service that contains the following operation contract.
[OperationContract]
CustomerNames GetCustomerNames();
The operation returns customer names.
You need to develop a definition for the operation contract that produces XML with the following structure.

Which code segment should you use?

コメントを追加

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

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