Latest MCTS 70-513 Dumps Real Exam Download 91-100

EnsurepassQUESTION 91 You develop a Windows Communication Foundation (WCF) service that employees use to access bonus information. You define the following service contract. (Line numbers are included for reference only.) 01 [ServiceContract(SessionMode = SessionMode.Required)] 02 public interface IFinancialService 03 { 04 [OperationContract] 05 string Login(int employeeID, string passwordHash); 06 07 [OperationContract] 08 double GetBonus(int month); 09 10 [OperationContract(IsTerminating = Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 81-90

EnsurepassQUESTION 81 You are using tracing to diagnose run-time issues.When you look at the traces for the service in SvcTraceViewer.exe, you see what is shown in the exhibit: The exception trace is selected in SvcTraceViewer.exe. You need to interpret the trace results to determine where the error occurred and what to do next. What should you do?   A. This issue occurred in the ServiceHost during ServiceHost.Open(). Enable WMI by adding the following configuration to the system.serviceModel Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 71-80

EnsurepassQUESTION 71 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 wsHttpBinding. B. Set the Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 61-70

EnsurepassQUESTION 61 Four Windows Communication Foundation (WCF) services are hosted in Microsoft Internet Information Services (IIS). No behavior configuration exists in the web.config fiIe. You need to configure the application so that every service and endpoint limits the number of concurrent calls to 50 and the number of concurrent sessions to 25. Which XML segment should you add to the system.serviceModel configuration section of the web.config file?   A.            Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 51-60

EnsurepassQUESTION 51 A Windows Communication Foundation (WCF) service is generating a separate namespace declaration for each body member of a message contract, even though all body members share the same namespace. You need to simplify the XML representation of your message contract so that the namespace is only declared once. What should you do?   A. Declare a wrapper namespace for the message contract by using the WrapperNamespace property of the MessageContract attribute B. Explicitly Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 41-50

EnsurepassQUESTION 41 A. Add the following attributes to the SavePerson operation on IContosoService. [OperationBehavior(TransactionScope.Required = true)] [TransactionFlow(TransactionFlowOption.Mandatory)] B. Add the following attributes to the SavePerson operation on lContosoService [TransactionFlow(TransactionFlowOption.Mandatory)] [OperationBehavior(TransactionScope.Required = true)] C. Add the following attribute to the SavePerson operation on lContosoService [OperationBehavior(TransactionScope.Required Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 31-40

EnsurepassQUESTION 31 A Windows Communication Foundation (WCF) client uses the following service contract. (Line numbers are included for reference only.) 01 [ServiceContract]02 public interface IService03 {04 [OperationContract]05 string Operation1();06 [OperationContract]07 string Operation2();08 } You need to ensure that all calls to Operation1 and Operation2 from the client are encrypted and signed. What should you do?   A. Set the ProtectionLevel property in line 01 to EncryptAndSign. Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 21-30

EnsurepassQUESTION 21 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 } 07 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 Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 11-20

EnsurepassQUESTION 11 A Windows Communication Foundation (WCF) service implements a contract with one-way and request-reply operations. The service is exposed over a TCP transport. Clients use a router to communicate with the service. The router is implemented as follows. (Line numbers are included for reference only.) 01 ServiceHost host = new ServiceHost(typeof(RoutingService)); 02 host.AddServiceEndpoint( 03 typeof(ISimplexDatagramRouter), 04 new NetTcpBinding(), "net.tcp://localhost/Router" Read more [...]

Latest MCTS 70-513 Dumps Real Exam Download 1-10

EnsurepassQUESTION 1 You are creating a Windows Communication Foundation (WCF) service that is implemented as follows. (Line numbers are included for reference only.) 01 [ServiceContract] 02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)] 03 public class OrderService 04 { 05 [OperationContract] 06 public void SubmitOrder(Order anOrder) 07 { 08 try 09 { 10 ... 11 } 12 catch(DivideByZeroException ex) 13 { 14 ... 15 } 16 } 17 } You need to ensure that the stack trace details of the exception Read more [...]
1 2