单项选择题
A. In the method body, check the Rights.PosessesProperty property to see if it contains manager.
B. Add a PrincipalPermission attribute to the method and set the Roles property to Manager.
C. Add a SecurityPermission attribute to the method and set the SecurityAction to Demand.
D. In the method body, create a new instance of WindowsClaimSet.
单项选择题 YouarecreatingaWindowsCommunicationFoundation(WCF)servicethatacceptsmessagesfromclientswhentheyarestarted.Themessageisdefinedasfollows.[MessageContract]publicclassAgent{publicstringCodeName{get;set;}publicstringSecretHandshake{get;set;}}Youhavethefollowingrequirements:"TheCodeNamepropertymustbesentincleartext.Theservicemustbeabletoverifythatthepropertyvaluewasnotchangedafterbeingsentbytheclient."TheSecretHandshakepropertymustnotbesentincleartextandmustbereadablebytheservice.Whatshouldyoudo?()
单项选择题 YouarecreatingaWindowsCommunicationFoundation(WCF)servicetoprocessorders.Thedatacontractfortheorderisdefinedasfollows.[DataContract]publicclassOrder{ [DataMember]publicstringCardHolderName{get;set;[DataMember]publicstringCreditCardNumber{get;set;}}Youhavethefollowingrequirements: "EnablethetransmissionofthecontentsofOrderfromtheclientstotheservice."EnsurethatthecontentsofCreditCardNumberarenotsentacrossthenetworkincleartext."EnsurethatthecontentsofCreditCardNumberareaccessiblebytheservicetoprocesstheorder.Youneedtoimplementtheservicetomeettheserequirements.Whatshouldyoudo?() Forinteractiveandself-pacedpreparationofexam70-513,tryourpracticeexams.Practiceexamsalsoincludeselfassessmentandreportingfeatures!
单项选择题 AWindowsCommunicationFoundation(WCF)solutionexposesthefollowingcontractoveranHTTPconnection.FunctionGetData()AsStringEndInterfaceExistingclientsaremakingblockingcallstoGetData.CallstoGetDatatakefivesecondstocomplete.Youneedtoallownewclientstoissuenon-blockingcallstogetthedata,withoutbreakinganyexistingclients.Whatshouldyoudo?()