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

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

問題 1

A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems.
The service has the following requirements:
- It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding. - It must interoperate with systems that use SOAP but are not built on the .NET platform.
You need to configure the service to support these requirements.
Which message encoding should you use?

問題 2

You develop a Windows Communication Foundation (WCF) RESTful service that provides media streaming services. The service includes the following code. (Line numbers are included for reference only.)

The service must return an XML response.
You need to apply the correct attribute to AddMediaTitle method.
Which code segment should you insert at line 05?

問題 3

You are developing a Windows Communication Foundation (WCF) client application. The client application contains the following code.

The configuration file contains the following lines.

You need to ensure that the service is consumed.
Which code segment should you use?

問題 4

You are hosting a Windows Communication Foundation (WCF) service under Microsoft Internet Information Services (IIS) 7.0.
You have set up a Web site in IIS Manager. The physical path is C:\wwwroot\Calendar. There is a Calendar.svc file in the C:\wwwroot\Calendar folder. It contains the following directive.
<%@ ServiceHost Language="C#" Debug="true" Service="Calendar.Calendar" CodeBehind="Calendar.svc.cs" %>
The Calendar.svc.cs file contains the source for the Calendar class in the Calendar namespace. You compile this code into the Calendar.dll file.
You need to deploy your service to the Web site.
What should you do?

問題 5

The following is an example of a SOAP envelope.
<s:Enelope xmlns:se'http://schemas.xmlsoporg/soap/envelopef'>
<s: Header> <h:Storeld xmlns:he"http:/!www.contoso.com"s
<Ih: Storeld>
</s:Header>
<s:Body>
<CheckStockRequest xmlnsehttp://wwwcorIosocom">
<ltemld>2469 <Iltenld>4
</CheckStoc kRequest>
<Is: Body>
<Is: Envelope>
You need to create a message contract that generates the SOAP envelope.
1 which code segment should you use?

コメントを追加

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

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