Online Access Free 70-513 Practice Test

Exam Code:70-513
Exam Name:TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4
Certification Provider:Microsoft
Free Question Number:323
Posted:Nov 22, 2026
Rating
100%

Question 1

You are developing a Windows Communication Foundation (WCF) service. One of the parameters used with the service operations is a security token. The security token is not sensitive. The monitoring software tracks security tokens and can read tokens in clear text only.
The company security policy requires that you validate all clear text data passed over the corporate network.
You need to ensure that the service verifies that the security token is not changed during transit.
What should you do?

Question 2

Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders. The service uses netMsmqBinding.
You find that processing every order in its own transaction is causing a delay.
You need to ensure that the service is configured to process multiple orders in one transaction.
What should you do?

Question 3

You are developing a Windows Communication Foundation (WCF) service that does not operate on a duplex channel.
You find that operations do not start until all previous operations have finished. The service hosting code contains the following lines.
var service = new WarehouseService();
var host = new ServiceHost(service);
You need to ensure that new operations do not wait for previous operations to finish.
Which attribute should you use to decorate the service?

Question 4

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?

Question 5

A Windows Communication Foundation (WCF) solution uses the following contracts. (Line numbers are included for reference only.)
01 [ServiceContract(CallbackContract = typeof(INameService))]
02 public interface IGreetingService
03 {
04 [OperationContract]
05 string GetMessage();
06 }
08 [ServiceContract]
09 public interface INameService
10 {
11 [OperationContract]
12 string GetName();
13 }
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.
22 In stanceContext callbackContext =
new InstanceContext(new NameService("client"));
25 DuplexChannelFactory<IGreetingService> factory =
new DuplexChannelFactory<IGreetingService>(
typeof(NameService), binding, address);
26 IGreetingService greetingService = factory.CreateChannel();
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.)

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.