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!
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.
Change the data type of CreditCardNumber from string to SecureString.
D. Implement the CreditCardNumber property getter and setter.
查看答案
2004年3月20日,张某与李某签订了一份房屋租赁合同。合同约定:张某将自有住房一套出租给李某居住,每月租金1000元,按月收租,租期二年,到2006年9月20日为止。合同签订后,双方到房地产管理部门办理了登记手续。当日,李某交付了押金和租金后入住。此后,李某每月按期交租。2005年4月,张某因欠王某50万元,便将该房屋抵押给王某,双方订立了抵押合同,合同约定:如张某不能在2005年6月底还债,王某有权将该房屋折价抵债。王某于2005年7月起开始实现其抵押权,要求李某向其缴纳押金,被李某以王某无权收取押金为由拒绝。以后,即从2005年7月至2006年5月,无论张、王怎样催促,李某均以张、王之间存在的抵押合同不成立为由,既拒绝向张某交租,也不向王某交租,遂张某决定终止租赁合同。经查获知,自2005年7月起,张、王因抵押合同发生了诉讼,法院对该案尚未判决。 张某能否将已出租的房屋抵押给王某,为什么?
患者,女性,50岁。因右上腹痛、发热、黄疸人院。患者就诊6小时后出现高热,体温39.5℃,腹痛加重为持续性剧痛,并出现神志淡漠,呼吸急促,全身发绀,血压80/50mmHg。患者手术治疗后放置T型引流管一根,其目的主要是().
A. 引流渗血、渗液
B. 预防感染
C. 观察胆总管压力
D. 引流胆汁
E. 确保胆汁合成
关于土工织物条带拉伸试验说法正确的是()。
A. 若试样在钳口内打滑,或在钳口边缘或钳口内断裂,其试验结果应予以剔除,并增补试样
B. 当土工织物在钳口内打滑时可以在钳口内加衬垫,但要在试验报告中说明
C. 对于湿态试样要求从水中取出至上机拉伸的时间间隔不大于60min
D. 对于土工织物,特别是无纺布,受拉时,拉伸变形量很大,“颈缩”现象突出,应尽量使用宽条试样拉伸
E. 对于湿态试样要求从水中取出至上机拉伸的时间间隔不小于10min
罗老师的《世界文化之旅》教学设计如下:①活动准备:教师适当提供相关背景资料,如有关网址、参考建议、教学目标等。②确定研究主题:学生选择一个自己感兴趣的民族或国家,通过各种途径收集资料,既可以单独进行.也可以小组形式进行。③搜集整理资料:学生将查找到的相关资料进行整合,编成手抄报,进行成果展示。有能力、有条件的同学,还可制作成PowerPoint课件或网页,插入图片、影片或声音等,全方位地介绍有关文化。④汇编成册:教师将全部手抄报装订成册,汇编成一本《世界文化荟萃》。在编制《世界文化荟萃》时,可在相关页面设计导语,按一定的逻辑顺序编排,使之成为一本有审美价值、实用价值和纪念意义的集子。⑤班内交流:组织学生作品进行课堂交流,尽可能让更多的学生有展示自己才华的机会。《世界文化荟萃》作为班级资料,学生在平时可以相互传阅,分享学习的快乐,体会成功的喜悦。