多项选择题
A.[Authorize(Users = "")]
B.[Authorize(Roles = "")]
C.[Authorize(Users = "*")]
D.[Authorize(Roles = "*")]
单项选择题 YouareimplementinganASP.NETMVC2Webapplication.TheURLwithpath/Home/Details/{country}willreturnapagethatprovidesinformationaboutthenamedcountry.YouneedtoensurethatrequestsforthisURLthatcontainanunrecognizedcountryvaluewillnotbeprocessedbytheDetailsactionofHomeController.Whatshouldyoudo?()
多项选择题 YouareimplementinganewDynamicDataWebsite.TheWebsiteincludesaWebpagethathasanObjectDataSourcecontrolnamedObjectDataSource1.ObjectDataSource1interactswithaWebservicethatexposesmethodsforlistingandeditinginstancesofaclassnamedProduct.YouaddaGridViewcontrolnamedGridView1tothepage,andyouspecifythatGridView1shoulduseObjectDataSource1asitsdatasource.YouthenconfigureGridView1toauto-generatefieldsandtoenableediting.YouneedtoaddDynamicDatabehaviortoGridView1.YoualsomustensurethatuserscanuseGridView1toupdateProductinstances.Whichtwoactionsshouldyouperform?()
单项选择题 You are implementing an ASP.NET Dynamic Data Web site. The Web site includes a data context that enables automatic scaffolding for all tables in the data model. The Global.asax.cs file contains the following code segment. You need to display the items in a table named Products by using a custom layout. What should you do?()