Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 171-180

EnsurepassQUESTION 171 You are developing a Windows Communication Foundation (WCF) service to provide an in- memory cache for many Web applications. The service contract is defined as follows. (Line numbers are included for reference only.)   01 <ServiceContract()>   02 Public Interface IDataCache   03   04 . . .   05 End Interface   06   07   08 Public Class DataCache   09 Implements IDataCache   10   11 . . .   12 End Class   Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 161-170

EnsurepassQUESTION 161 You are developing a Windows Communication Foundation (WCF) service. The service needs to access out-of-process resources. You need to ensure that the service accesses these resources on behalf of the originating caller. What should you do?   A. Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to TokenImpersonationLevel.Impersonation. B. Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to TokenImpersonationLevel.Delegation. Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 151-160

EnsurepassQUESTION 151 You are creating a Windows Communication Foundation (WCF) service. You do not want to expose the internal implementation at the service layer. You need to expose the following class as a service named Arithmetic with an operation named Sum.   public class Calculator   {   public int Add(int x, int y)   {   }   }   Which code segment should you use?   A. [ServiceContract(Namespace="Arithmetic")] public class Calculator { [OperationContract(Action="Sum")] Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 141-150

EnsurepassQUESTION 141 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 Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 131-140

EnsurepassQUESTION 131 You are maintaining a Windows Communication Foundation (WCF) service that uses a custom UserNamePassword class to authenticate clients. The service certificate is hosted in the deployment server store for trusted root certificate authorities and has a Subject value of TaxServiceKey. Other service certificates hosted on the server also use TaxServiceKey as a Subject value. You need to ensure that the service identifies itself with a certificate whose subject name and distinguished Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 121-130

EnsurepassQUESTION 121 You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue. You need to configure the service to read messages from the failed-delivery queue. Which URI should you specify in the endpoint configuration settings of the service?   A. net.msmq://localhost/msmq$;FailedMessages B. net.msmq://localhost/msmq$;DeadLetter C. net.msmq://localhost/system$;DeadXact D. net.msmq://localhost/system$;DeadLetter Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 111-120

EnsurepassQUESTION 111 You are creating a Windows Communication Foundation (WCF) service that uses claims- based authorization. The following code retrieves the correct claim set.   var claims = ServiceSecurityContext.Current.   AuthorizationContext.ClaimSets[0];   You need to validate that the requesting client application has included a valid DNS value in the claim.   Which code segment should you use to retrieve the claim for validation?   A. claims.FindClaims(ClaimTypes.Dns, Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 101-110

EnsurepassQUESTION 101 You are developing a Windows Communication Foundation (WCF) service that must be discoverable. You need to ensure that the ServiceHost instance supports multiple discovery versions. What should you do?   A. Specify a unique DiscoveryVersion parameter for each endpoint constructor. Use the same value for the Address property of each endpoint. B. Use the endpoint constructor without the DiscoveryVersion parameter. Use a unique value for the Address property of each Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 91-100

EnsurepassQUESTION 91 An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc . The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows:   <script type="text/3avaScript" src="/Secvices/Contoso.svc/js" />   You need to retrieve the debug version of the service JavaScript.   What should you do?   A. In the <<to@ ServiceHost ?>; Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 81-90

Ensurepass  QUESTION 81 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 Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 71-80

EnsurepassQUESTION 71 A Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the IDataAccess contract, which is defined in the MyApplication namespace.   The service is implemented in a class named DataAccessService, which implements the IDataAccess interface and also is defined in the MyApplication namespace.   The hosting code is as follows. (Line numbers are included for reference only.)     You need to create a ServiceHost Read more [...]

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 61-70

EnsurepassQUESTION 61 You are creating a Windows Communication Foundation (WCF) service that implements operations in a RESTful manner. You need to add a delete operation.   You implement the delete method as follows:   Sub DeleteItems (ByVol id As String)   You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation.   What should you do?   A. Add the WebInvoke(UriTemplate: = "/Items/{id>", Method: = "DELETE") attribute Read more [...]
1 2 3 4