An existing Windows Communication Foundation (WCF) service uses basicHttpBinding. You are releasing updates to the service and the client application.
You need to enable the client application to flow transactions to the service.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. Change to a custom binding that has the httpTransport, textMessageEndcoding, and transactionFlow binding elements in this order.A WCF service code is implemented as follows. (Line numbers are included for reference only.)
01 [ServiceContract]
02 [ServiceBehavior(InstanceContextMode =
03 InstanceConcextMode.Single)]
04 public class CalculatorService
05 {
06 [OperacionContract]
07 public double Calculate(double opl, string op, double op2)
08 {
…
24 }
25 }
You need to decrease the response time of the service.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. Change the service behavior to the following. [ServiceBehavior( InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple) ]You have an existing Windows Communication Foundation (WCF) service that exposes a service contract over HTTP using explicit binding configuration.
You need to expose that contract over HTTP and TCP.
What should you do?
A. Add a net.tcp base address to the host.You are debugging a Windows Communication Foundation (WCF) service.
The service uses signed and encrypted messages.
You need to configure logging so that you can read the contents of the messages.
What should you do?
A. Set maxSizeMessagesToLog to 10You are developing a Windows Communication Foundation (WCF) service. You enable message logging, trace listeners, activity propagation, and tracing on the trace sources.
You have the following code segment in the client application. (Line numbers are included for reference only.)

You encounter errors when your client application consumes the service.
You need to ensure that your client application can correlate tracing information with the service.
Which code segment should you add at line 04?
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?
A. Set the ProtectionLevelAttribute on the service contract and update the binding attribute in the endpoint element of the configuration file to wsHttpBindingA Windows Communication Foundation (WCF) service has the following contract.

This is one of several service contracts hosted by your application. All endpoints use SOAP 1.2 bindings with WS-Addressing 1.0. The System.ServiceModel.MessageLogging trace source in the system.diagnostics configuration section is
configured with one listener.
You need to make sure that only the messages that are returned from the DoWork operation are logged.
Which XML segment should you add to the
system.serviceModel/diagnostics/messageLogging/filters configuration element?
A. odd xmlns:soap="http://www.u3.org/2003/05/soap-envelope"> //soap:Action[text() = 'http://contoso.com/I5hipping/DoWorkResponse']You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding. New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.
You need to ensure that the service will not cache the security request token.
What should you do?
A. Apply a ServiceBehavior attribute to the service implementation class with the InstanceContextMode property set to Single.You are developing a Windows Communication Foundation (WCF) service that is used to check the status of orders placed by customers. The following code segment is part of your service. (Line numbers are included for reference only.)

You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe. What should you do?

You develop a Windows Communication Foundation (WCF) service that is hosted within a console application. The service implements the IRegistrationService interface in a class named RegistrationService. The service uses the following endpoint URL:
http://localhost:8080/registrationservice/basic
You need to configure the console application to host the service.
How should you complete the relevant markup? (To answer, drag the appropriate markup segment to the correct location in the answer area. Each 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.)
Select and Place:

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-513 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.