nerdexam
Microsoft

70-519 · Question #216

You are designing an ASP.NET Web Forms application. The Web application has a heavy reliance on view state. You are designing the Web application for use in regions that have limited or…

The correct answer is D. Register a custom PageAdapter class that provides a SessionStatePagePersister. See the full explanation below for the reasoning.

Question

You are designing an ASP.NET Web Forms application. The Web application has a heavy reliance on view state. You are designing the Web application for use in regions that have limited or low-bandwidth connectivity. You have the following requirements:

  • Decrease bandwidth requirements.
  • Prevent any user from obtaining any part of the view state.
  • Do not require changes to existing pages, user controls, or code-

behind files that rely on the view state. You need to ensure that the Web application meets these requirements. Which approach should you recommend?

Options

  • AConfigure IIS to use SSL.
  • BConfigure IIS to use HTTP compression.
  • CRegister a custom PageAdapter class that stores the view state in a cookie.
  • DRegister a custom PageAdapter class that provides a SessionStatePagePersister.

How the community answered

(54 responses)
  • A
    11% (6)
  • B
    7% (4)
  • C
    4% (2)
  • D
    78% (42)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice