多项选择题
A.Apply the WebService attribute to the ProductService class.
B.Apply the ScriptService attribute to the ProductService class.
C.Apply the WebMethod attribute to the GetProducts method.
D.Apply the ScriptMethod attribute to the GetProducts method.
单项选择题 You are implementing an ASP.NET application. You add the following code segment. You need to add code to return a list of all Person objects except those with a UserId that is contained in the secretUsers list. The resulting list must not contain duplicates. Which code segment should you use?()
单项选择题 You are implementing an ASP.NET application that uses LINQ to Entities to access and update the database.The application includes the following method to update a detached entity of type Person. You need to implement the UpdatePerson method to update the database row that corresponds to the personToEdit object. Which code segment should you use?()
单项选择题 You are implementing an ASP.NET page. Client-side script requires data. Your application includes a class named Person with a Name property of type string. The code-behind file of the page includes the following code segment. You need to use the JavaScriptSerializer class to serialize only the Name property of each item in the people list. Which code segment should you use?()