UPG-Transition-MCPD-NET-Frmwrk-3-5-Web-Dev-to-4-Web-Dev-(70-523-VB).pdf - Microsoft 70-523-VB UPG-Transition MCPD.NET Frmwrk 3.5 Web Dev to 4 Web Dev

UPG-Transition-MCPD-NET-Frmwrk-3-5-Web-Dev-to-4-Web-Dev-(70-523-VB).pdf

This preview shows page 1 - 4 out of 8 pages.

70-523-VB Microsoft UPG-Transition MCPD.NET Frmwrk 3.5 Web Dev to 4 Web Dev
Image of page 1
A. Add a DataProtectionPermission attribute to the CreditCardNumber property and set the ProtectData property to true. B. Convert the DataContract to a MessageContract and set the ProtectionLevel property to SignAndEncrypt. C. Change the data type of CreditCardNumber from string to SecureString. D. Implement the CreditCardNumber property getter and setter. In the setter, run the value of the CreditCardNumber through the MD5CryptoServiceProvider class TransformBlock method. Answer: B QUESTION: 90 You are designing a data access service backed by Microsoft SQL Server. Other developers will use your service as a third-party service. You have the following requirements: To reduce maintenance cost, you must write the minimal amount of code required for fulfilling the goals. The service must function with Microsoft and non-Microsoft technologies. The service must implement the WS-Security standards. You need to design the service to meet the requirements. Which approach should you recommend? A. Use an ASP.NET Web service. B. Use SQL Server XML Web services. C. Use a WCF service with multiple bindings. D. Use an .ashx file to return an XML response over HTTPS. Answer: C QUESTION: 91 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. string void DeleteItems(string id); You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation. What should you do? 55
Image of page 2
A. Add the WebInvoke(UriTemplate = "/Items/{id}",Method="DELETE") attribute to the operation. B. Add the HttpDelete attribute to the operation. C. Replace the string parameter with a RemovedActivityAction parameter.
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 8 pages?

  • Fall '20
  • .NET Framework

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture