Which XML segment should you add to the system.serviceModel/diagnostics/messageLogging/filters configuration e
A 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?
You need to ensure that the service methods are asynchronous
You are modifying a Windows Communication Foundation (WCF) service that provides
access to report generation system. The following code segment is part of your service
contract. (Line numbers are included for reference only.) Client applications are blocked
while the service processes reports. You need to ensure that the service methods are
asynchronous. What should you do?
What should you add to the service configuration file?
You are developing a Windows Communication Foundation (WCF) service. You establish
that the largest size of valid messages is 8,000 bytes. You notice that many malformed
messages are being transmitted. Detailed information about whether each message is
malformed must be logged. You need to ensure that this information is saved in XML format
so that it can be easily analyzed. What should you add to the service configuration file?
You need to ensure that the client sends a SOAP body that is accepted by the service
What are two possible ways to achieve this goal?
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.)
You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe
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?
Which code segment should you insert at line 02?
What should you add to the filters element of the application configuration file?
You are developing a Windows Communication Foundation (WCF) service. You enable
logging in the configuration file. The opening tag is defined as follows. You need to ensure
that logging is implemented so that only messages with SOAP headers are logged. What
should you add to the filters element of the application configuration file?
Which code segment should you use?
You are developing a Windows Communication Foundation (WCF) client application. You
instantiate a client class that inherits from ClientBase. The client instance must always be
shut down in such a way that tt can free up any resources it is referencing. You need to
ensure that all exceptions are caught and the instance is always properly shut down. Which
code segment should you use?
Which code segment should you use?
You are developing a Windows Communication Foundation (WCF) service named
CalculatorService, which implements the ICalculatorService contract. The service is
configured to be discoverable through UDP. CalculatorService contains multiple endpoints.
One of the endpoints is configured with the following behavior. You need to log all the
endpoint metadata information that is added by the service host. Which code segment
should you use?