可学答题网 > 问答 > MCPD(70-513)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are creating a&#


You are creating a Windows Communication Foundation (WCF) service to process orders. The data contract for the order is defined as follows. [DataContract] public class Order {  [DataMember] public string CardHolderName { get; set; [DataMember] public string CreditCardNumber { get; set; } }You have the following requirements:  "Enable the transmission of the contents of Order from the clients to the service. "Ensure that the contents of CreditCardNumber are not sent across the network in clear text. "Ensure that the contents of CreditCardNumber are accessible by the service to process the order. You need to implement the service to meet these requirements. What should you do?() For interactive and self-paced preparation of exam 70-513, try our practice exams. Practice exams also include self assessment and reporting features! 

  • 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.
参考答案
参考解析:
分类:MCPD(70-513)题库
相关推荐

1、You are creating a&#

You are creating a SQL Tuning Set to allow a group of SQL statements to be&...

2、若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值

若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值为()A0B-1C1D2

3、You are creating a&#

You are creating a Windows Forms application by using the .NET Framework 3.5. You&#8194...

4、You are creating a&#

You are creating a SQL Server 2005 database for a mortgage company. The database ...

5、You are creating a&#

You are creating a view to join the Customers and Orders tables in a SQL Se...

6、You are creating a&#

You are creating a Windows Forms application by using the .NET Framework 3.5.You have&#...