Web Developer Framework 4.0 Sample Questions – 3

Question: You have created an ASP.NET server control named Shopping Cart for use by other developers. Some developers report that the Shopping Cart control does not function properly with ViewState disabled. You want to ensure that all instances of the Shopping Cart control work even if ViewState is disabled. What should you do? Require developers to set EnableViewStateMac to true. Store state in ControlState instead of ViewState. Serialize the state into an Application state entry called “MyControl”. Require developers to change the session state mode to SQLServer. Correct Answer: 2 Question: You are troubleshooting an ASP.NET Web application. System administrators … Click here to continue…..