多项选择题
A.Add the WebGet attribute to the service contract.
B.Set WebOperationContext.Current.OutgoingRequest.ContentType to "text/xml" in the GetProduct method.
C.Add the WebInvoke attribute to the service contract.
D.Set WebOperationContext.Current.OutgoingResponse.ContentType to "text/xml" in the GetProduct method.
单项选择题 You are developing an ASP.NET Web application.The application is configured to use the membership and role providers. You need to allow all users to perform an HTTP GET for application resources, but you must allow only the user named Moderator to perform a POST operation. Which configuration should you add to the web.config file?()
单项选择题 You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()
单项选择题 Youhavemigratedawebapplicationfrom.net3.5to4.0.theapplicationhattorendersameasin.net3.5.()