单项选择题
YouarecreatingaWindowsCommunicationFoundation(WCF)servicethatimplementsoperationsinaRESTfulmanner.Youneedtoaddadeleteoperation.Youimplementthedeletemethodasfollows.stringvoidDeleteItems(stringid);YouneedtoconfigureWCFtocallthismethodwhentheclientcallstheservicewiththeHTTPDELETEoperation.Whatshouldyoudo?()
A.AddtheWebInvoke(UriTemplate="/Items/{id}",Method="DELETE")attributetotheoperation.
B.AddtheHttpDeleteattributetotheoperation.
C.ReplacethestringparameterwithaRemovedActivityActionparameter.
D.ReplacethereturntypewithRemovedActivityAction.
- A.Youneedtoaddadeleteoperation.Youimplementthedeletemethodasfollows.stringvoidDeleteItems(stringid);YouneedtoconfigureWCFtocallthismethodwhentheclientcallstheservicewiththeHTTPDELETEoperation.Whatshouldyoudo?()
A.AddtheWebInvoke(UriTemplate="/Items/{id}",Method="DELETE")attributetotheoperation.
B.AddtheHttpDeleteattributetotheoperation.
C.ReplacethestringparameterwithaRemovedActivityActionparameter.
D.ReplacethereturntypewithRemovedActivityAction.
点击查看答案&解析
相关考题
-
单项选择题
YourcompanyusesaWindows2008Enterprisecertificateauthority(CA)toissuecertificates.Youneedtoimplementkeyarchival.Whatshouldyoudo()
A.Archivetheprivatekeyontheserver.
B.ApplytheHisecdcsecuritytemplatetothedomaincontrollers.
C.Configurethecertificateforautomaticenrollmentforthecomputersthatstoreencryptedfiles.
D.InstallanEnterpriseSubordinateCAandissueausercertificatetousersoftheencryptedfiles. -
单项选择题
YournetworkcontainsasingleActiveDirectorysite.&e
A.
B.ThenewcomputershavePre-bootExecutionEnvironment(PXE)networkadapters.
-
单项选择题
YournetworkconsistsofasingleActiveDirectorydomain.ThefunctionalleveloftheforestisWindowsServer2008.Youneedtocreatemultiplepasswordpoliciesforusersinyourdomain.Whatshouldyoudo()
A.FromtheSchemasnap-in,createmultipleclassschemaobjects.
B.FromtheADSIEditsnap-in,createmultiplePasswordSettingobjects.
C.FromtheSecurityConfigurationWizard,createmultiplesecuritypolicies.
D.FromtheGroupPolicyManagementsnap-in,createmultipleGroupPolicyobjects.
