70-513 試験問題を無料オンラインアクセス
| 試験コード: | 70-513 |
| 試験名称: | TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 |
| 認定資格: | Microsoft |
| 無料問題数: | 323 |
| 更新日: | 2026-08-24 |
HOTSPOT
You are developing a Windows Communication Foundation (WCF) service. You implement a data contract to pass complex data to and from the service.
The service includes the following code: You need to verify the order in which the data is serialized.
For each of the following statements, select True if the statement is true. Otherwise, select False.
You are configuring a routing service to call a target service. The routing service has no knowledge of the target service's data tyes other than the service contract.
The operation contract for all of the methods of the target service specifies IsOneWay=true.
You need to specify the endpoint information for the routing service.
What should you do?
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?
You are developing an application to update a users social status. You need to consume the service using Windows Communication Foundation (WCF).
The client configuration is as follows.
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding name="SocialConfig">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic"
realm="Social API" />
</security>
</binding>
</webHttpBinding>
</bindings>
<client>
<endpoint address= " http:// contoso .com "
binding="webHttpBinding"
bindingConfiguration="SocialConfig"
ontract="ISocialStatus"
name="SocialClient" />
</client>
</system.serviceModel>
The service contract is defined as follows.
<ServiceContract()>
Public Interface ISocialStatus
<OperationContract()>
<WebInvoke(UriTemplate:="/statuses/update.xml?status={text}")>
Sub UpdateStatus(ByVal text As String)
End Interface
Which code segment should you use to update the social status?
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?
