70-513 試験問題を無料オンラインアクセス
試験コード: | 70-513 |
試験名称: | TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 |
認定資格: | Microsoft |
無料問題数: | 323 |
更新日: | 2025-10-17 |
You have a Windows Communication Foundation (WCF) service that uses a multicast protocol as a custom transport. The service implements the channel framework.
You need to choose a message exchange pattern for the transport.
What should you use?
You develop a Windows Communication Foundation (WCF) service that uses basic authentication for client credentials. This service is currently configured to use message security.
The service is hosted on a server in workgroup mode.
Users report that their passwords are stolen when they use public computers.
You need to ensure that messages are secure and users are authenticated.
You prevent the service from being called over HTTP through Microsoft Internet Information Services (IIS) configuration. What should you do next?
A Windows Communication Foundation (WCF) solution exposes the following service over a TCP binding. (Line numbers are included for reference only.)
01 [ServiceContract]
02 [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]
03 public class DataAccessService
04 {
05 [OperationContract]
06 public void PutMessage(string message)
07 {
08 MessageDatabase.PutMessage(message);
09 }
10 [OperationContract]
11 public string[] SearchMessages(string search)
12 {
13 return MessageDatabase.SearchMessages(search);
14 }
15 }
MessageDatabase supports a limited number of concurrent executions of its methods.
You need to change the service to allow up to the maximum number of executions of the methods of MessageDatabase. This should be implemented without preventing customers from connecting to the service.
What should you do?
DRAG DROP
You are creating a Windows Communication Foundation (WCF) service.
The service must be able to transmit messages back to the client application.
You need complete the web.config file for the service.
How should you complete the relevant markup? (To answer, drag the appropriate markup segments to the correct location or locations in the answer area. Each markup segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
--- -
You develop a Windows Communication Foundation (WCF) service. Many client applications will consume the service.
You have the following requirements:
You must enable client sessions on the service.
The service must support multi-threaded operations.
If a client application uses sessions, the lifetime of the service instance must be
scoped to the lifetime of the session.
If a client application does not use sessions, the lifetime of the service must be
scoped to the lifetime of a method cal
You need to configure the service.
What should you do? (Each correct answer presents part of the solution. Choose three.)