单项选择题
A.Call document.write.
B.Call Response.Write.
C.Call HttpUtility.UrlEncode.
D.Call HttpUtility.HtmlEncode.
单项选择题 YouaredevelopingaWebpage.Theusertypesacreditcardnumberintoaninputcontrolnamedccandclicksabuttonnamedsubmit.Thesubmitbuttonsendsthecreditcardnumbertotheserver.AJavaScriptlibraryincludesaCheckCreditCardfunctionthatreturnsavalueoftrueifthecreditcardappearstobevalid,basedonitschecksum.Youneedtoensurethattheformcannotbeusedtosubmitinvalidcreditcardnumberstotheserver.Whatshouldyoudo?()
单项选择题 YouhavecreatedanASP.NETservercontrolnamedShoppingCartforusebyotherdevelopers.SomedevelopersreportthattheShoppingCartcontroldoesnotfunctionproperlywithViewStatedisabled.YouwanttoensurethatallinstancesoftheShoppingCartcontrolworkevenifViewStateisdisabled.Whatshouldyoudo?()
多项选择题 YouareimplementinganASP.NETpagethathostsausercontrolnamedCachedControl.Youneedtoensurethatthecontentoftheusercontroliscachedfor10secondsandthatitisregeneratedwhenfetchedafterthe10secondselapse.Whichtwoactionsshouldyouperform?()