A service implemerts the following contract. (Line numbers are included for reference only) The service is implemented as follows. ContosoService uses NetMsmqBinding to listen for messages. The queue was set up to use transactions for adding and removing messages. You…

A Windows Communication Foundation (WCF) client and service share the following service contract interface They also use the following binding. NetTcpBinding binding = new NetTcpBinding { TransactionFlow = true }; The client calls the service with the following code The…

A Windows Communication Foundation (WCF) solution uses the followng contract You need to change this interface so that: lnitialize is allowed to be called at any time before Terminate is called. DoSomething is allowed to be called only after Initialize…

A Windows Communication Foundation (WCF) solution provides a session-based counter. The service is self-hosted. The hosting code is as follows: This service is currently exposed over TCP, but needs to be exposed to external clients over HTTP. Therefore, a new…

A Windows Communication Foundation (WCF) solution exposes the following service over a TCP binding (Line numbers are included for reference only.) MessageDatabase supports a limited number of concurrent executions of its methods. You need to change the service to allow…

A Windows Communication Foundation (WCF) solution uses the following contract to share a message across its clients. (Line numbers are included for reference only.) The code for the service class is as follows The service is self-hosted. The hosting code…

You have a secured Windows Communication Foundation (WCF) service. You need to track unsuccessful attempts to access the service. What should you do? A. Set the authorizationManagerType attribute of the serviceAuthorization behavior to Message. B. Set the includeExceptionDetailslnFaults attribute of…

A Windows Communication Foundation (WCF) service that handles corporate accounting must be changed to comply with govemnment regulations of auditing and accountability You need to configure the WCF service to execute under the Windows logged-on identity of the calling application.…

A Windows Communication Foundation (WCF) service exposes two operations: OpA and OpB OpA needs to execute under the client’s identity, and OpB needs to execute under the service’s identity. You need to configure the service to run the operations under…