单项选择题
A.Run the aspnet_regiis.exe command.
B.Set the Treat warnings as errors option to All in the project properties and recompile.
C.Add the following rule to the
D.Add the following rule to the
多项选择题 YoucreateaVisualStudio2010solutionthatincludesaWCFserviceprojectandanASP.NETproject.TheserviceincludesamethodnamedGetPeoplethattakesnoargumentsandreturnsanarrayofPersonobjects.TheASP.NETapplicationusesaproxyclasstoaccesstheservice.YouusetheAddServiceReferencewizardtogeneratetheclass.Afteryoucreatetheproxy,youmovetheserviceendpointtoadifferentport.Youneedtoconfiguretheclienttousethenewserviceaddress.Inaddition,youmustchangetheimplementationsothatcallstotheclientproxywillreturnaListinsteadofanarray.Whichtwoactionsshouldyouperform?()
单项选择题 YouareimplementinganASP.NETWebsite.Thesiteusesacomponentthatmustbedynamicallyconfiguredbeforeitcanbeusedwithinsitepages.YoucreateastaticmethodnamedSiteHelper.Configurethatconfiguresthecomponent.YouneedtoaddacodesegmenttotheGlobal.asaxfilethatinvokestheSiteHelper.Configuremethodthefirsttime,andonlythefirsttime,thatanypageinthesiteisrequested.Whichcodesegmentshouldyouuse?()
单项选择题 YouareimplementinganASP.NETWebsite.TherootdirectoryofthesitecontainsapagenamedError.aspx.YouneedtodisplaytheError.aspxpageifanunhandlederroroccursonanypagewithinthesite.YoualsomustensurethattheoriginalURLinthebrowserisnotchanged.Whatshouldyoudo?()